Univention Bugzilla – Full Text Bug Listing |
Summary: | Univention Management Console - simplify localization by using named arguments in msgs | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Orrego <orrego> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Daniel Tröder <troeder> |
Severity: | enhancement | ||
Priority: | P5 | CC: | best, birkefeld, gohmann, luft, michelsmidt, walkenhorst |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Internationalization, Usability | |
Max CVSS v3 score: | |||
Bug Depends on: | 38155, 40341 | ||
Bug Blocks: | |||
Attachments: | Errors from univention-ucs-translation-build-package.py UCS4.1 |
Description
Daniel Orrego
2015-12-23 18:26:32 CET
Rewrote all format strings with multiple arguments in all UMC modules. univention-quota (10.0.1-2): r66794 | Bug #40339: format string with multiple unnamed arguments r66787 | Bug #40339: fix PO metadata univention-system-setup (9.0.2-27): r66793 | Bug #40339: format string with multiple unnamed arguments r66787 | Bug #40339: fix PO metadata univention-appcenter.yaml: r66796 | YAML Bug #40339 univention-management-console.yaml: r66796 | YAML Bug #40339 univention-join.yaml: r66796 | YAML Bug #40339 univention-management-console-module-top.yaml: r66796 | YAML Bug #40339 univention-appcenter (5.0.19-42): r66789 | Bug #40339: format string with multiple unnamed arguments r66787 | Bug #40339: fix PO metadata univention-quota.yaml: r66796 | YAML Bug #40339 univention-management-console-module-adtakeover.yaml: r66796 | YAML Bug #40339 And fixed the last occurrences. No errors anymore against UCS 4.1. univention-management-console (8.0.28-5): r66841 | Bug #40339: fix format string with multiple unnamed arguments univention-directory-manager-modules (11.0.2-13): r66843 | Bug #40339: fix format string with multiple unnamed arguments univention-management-console-frontend (5.0.63-11): r66842 | Bug #40339: fix format string with multiple unnamed arguments r66844 | Bug #40339: fixup r66845 | YAML Bug #40339 OK: checked that modifications in PO files are reflected in js/py code OK: ran some modules (random sample) to check functionality at runtime OK: searched complete 4.1 source code (not just UMC) for format strings with multiple unnamed arguments: ~/svn/dev/branches/ucs-4.1/ucs-4.1-0$ find -name '*.po' -exec egrep '_\(.*%.*%\w' {} + ~/svn/dev/branches/ucs-4.1/ucs-4.1-0$ find -name '*.js' -exec egrep '_\(.*%.*%\w' {} + ~/svn/dev/branches/ucs-4.1/ucs-4.1-0$ find -name '*.py' -exec egrep '_\(.*%.*%\w' {} + ~/svn/dev/branches/ucs-4.1/ucs-4.1-0$ find -name '*.po' -exec egrep '%s.*%s' {} + ~/svn/dev/branches/ucs-4.1/ucs-4.1-0$ find -name '*.py' -exec egrep '_\(.*%s.*%s' {} + ~/svn/dev/branches/ucs-4.1/ucs-4.1-0$ find -name '*.js' -exec egrep '_\(.*%s.*%s' {} + OK: checked output of univention-ucs-translation-build-package: root@ucs26:~# cd ~/sync/ucs-4.1-0 root@ucs26:~/sync/ucs-4.1-0# svn up Password: Revision 66985. root@ucs26:~/sync/ucs-4.1-0# univention-ucs-translation-build-package.py -s ~/sync/ucs-4.1-0 -c de_DE -l de_DE.UTF-8:UTF-8 -n "Deutsch" 2>&1 | grep unnamed [keine Ausgabe] PS: * typo, must be: >> ~/svn/dev/branches/ucs-4.1/ucs-4.1-0$ find -name '*.po' -exec egrep '.*%.*%\w' {} + <<, but doesn't reveal problems (only in unused translations) * OK: advisories <http://errata.software-univention.de/ucs/4.1/64.html> <http://errata.software-univention.de/ucs/4.1/66.html> <http://errata.software-univention.de/ucs/4.1/68.html> <http://errata.software-univention.de/ucs/4.1/79.html> <http://errata.software-univention.de/ucs/4.1/88.html> <http://errata.software-univention.de/ucs/4.1/89.html> <http://errata.software-univention.de/ucs/4.1/90.html> <http://errata.software-univention.de/ucs/4.1/91.html> <http://errata.software-univention.de/ucs/4.1/94.html> <http://errata.software-univention.de/ucs/4.1/97.html> |