Bug 40917

Summary: univention-ucs-translation-template: Wrong languages UCR variable is set
Product: UCS Reporter: Alexander Kläser <klaeser>
Component: GeneralAssignee: Eduard Mai <mai>
Status: CLOSED FIXED QA Contact: Alexander Kläser <klaeser>
Severity: normal    
Priority: P5 CC: best
Version: UCS 4.1Flags: best: Patch_Available+
Target Milestone: UCS 4.1-2-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=40916
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): External feedback, Internationalization
Max CVSS v3 score:
Attachments: patch

Description Alexander Kläser univentionstaff 2016-03-17 15:09:12 CET
While helping a customer who had troubles getting the translation package to work, I noted that the wrong UCR variable is set in the postinst of the created translation package. In my case, there is:

> ucr set umc/server/languages/fr_FR?"French"

However, it should be "ucs" instead of "umc":

> ucr set ucs/server/languages/fr_FR?"French"

Ticket#2016031421000382
Comment 1 Florian Best univentionstaff 2016-03-23 12:46:15 CET
Created attachment 7558 [details]
patch
Comment 2 Alexander Kläser univentionstaff 2016-05-09 14:56:26 CEST
Another bug when calling:
> univention-ucs-translation-build-package.py -s ~/translation/ucs-4.1-1 -c pt -l pt_BR.UTF-8:UTF-8 -n Português

This sets umc/server/languages/pt_PT, however it should be *ucs*/.../pt_*BR*.
Comment 3 Eduard Mai univentionstaff 2016-06-02 15:12:52 CEST
Rev. 69760: Territory part of locale is now written correctly to UCR.
Package: univention-ucs-translation-template
Version: 3.0.1-6.9.201606021505
Scope: errata4.1-2
Comment 4 Alexander Kläser univentionstaff 2016-07-05 11:39:27 CEST
Changes: OK, works as expected
YAML file: FAIL, file is missing
Comment 5 Alexander Kläser univentionstaff 2016-07-15 16:08:29 CEST
Change: OK, still :)
YAML file: OK, minor adjustments [r71034]

→ VERIFIED
Comment 6 Janek Walkenhorst univentionstaff 2016-08-03 15:56:42 CEST
<http://errata.software-univention.de/ucs/4.1/225.html>