Bug 40917 - univention-ucs-translation-template: Wrong languages UCR variable is set
univention-ucs-translation-template: Wrong languages UCR variable is set
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-2-errata
Assigned To: Eduard Mai
Alexander Kläser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-17 15:09 CET by Alexander Kläser
Modified: 2016-08-03 15:56 CEST (History)
1 user (show)

See Also:
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:
best: Patch_Available+


Attachments
patch (664 bytes, patch)
2016-03-23 12:46 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>