This provides a hint to gettext that the string uses javascript format [1], however the format described here does not match how Ext.String.format operates.
Certain editors, e.g. GTranslator, might refuse to translate a string if the format on msgstr is broken, hence it is preferable to not have this flag. [1] https://www.gnu.org/software/gettext/manual/html_node/javascript_002dformat.html Signed-off-by: Maximiliano Sandoval <[email protected]> --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 2e1312ea..31c49432 100644 --- a/Makefile +++ b/Makefile @@ -210,6 +210,7 @@ messages.pot: proxmox-widget-toolkit.pot proxmox-mailgateway.pot pve-manager.pot --msgid-bugs-address="<[email protected]>" \ --copyright-holder="Copyright (C) Proxmox Server Solutions GmbH <[email protected]> & the translation contributors." \ --output $@ + awk '!/#, javascript-format/' messages.pot > tmpfile && mv tmpfile messages.pot .PHONY: distclean distclean: clean -- 2.47.3
