[pve-devel] [PATCH manager] fix #4634: ui: osd: allow to translate the entire string
Fiona Ebner
f.ebner at proxmox.com
Mon Aug 28 13:26:10 CEST 2023
Am 28.08.23 um 13:10 schrieb Maximiliano Sandoval:
> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
> ---
> www/manager6/ceph/OSD.js | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
> index d2caafa4..eda60f2f 100644
> --- a/www/manager6/ceph/OSD.js
> +++ b/www/manager6/ceph/OSD.js
> @@ -233,7 +233,8 @@ Ext.define('PVE.CephSetFlags', {
>
> onlineHelp: 'pve_ceph_osds',
> isCreate: true,
> - title: Ext.String.format(gettext('Manage {0}'), 'Global OSD Flags'),
> + // TRANSLATORS: Do not translate OSD.
> + title: gettext('Manage Global OSD Flags'),
Translators would need to look at the source code to see this comment.
You could format the string differently and keep 'OSD' hard coded.
More information about the pve-devel
mailing list