Merge lp:~danilo/launchpad/bug-676011 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Данило Шеган | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 12107 | ||||
Proposed branch: | lp:~danilo/launchpad/bug-676011 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
87 lines (+36/-5) 2 files modified
lib/lp/translations/model/translationimportqueue.py (+11/-0) lib/lp/translations/tests/test_translationimportqueue.py (+25/-5) |
||||
To merge this branch: | bzr merge lp:~danilo/launchpad/bug-676011 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+44066@code.launchpad.net |
Commit message
[r=bac][ui=none][bug=676011] Support language variant translations for KDE in source package uploads (especially sr@latin, sr@ijekavian, sr@ijekavianlatin).
Description of the change
= Bug 676011 =
KDE translations are handled as a special case in Launchpad because they are all split up into separate per-language packages (compared to other software, where all language translations come with the actual source code).
For "variant" translations KDE used to package them into separate packages as well, but for a while now has stopped doing that (well, mostly: it's still somewhat arbitrary). Instead, they put them into the base language package and instead put all the variant translations inside a subdirectory with top-level directory name being 'language@variant'.
== Proposed fix ==
For a kde-l10n-LANG sourcepackage uploads where uploads contain files like 'something/
== Tests ==
bin/test -cvvt KDE4_language
== Demo and Q/A ==
Try re-uploading kde-l10n-sr package through Soyuz and track the +imports page to see what languages are assigned to PO files (at the moment, they are all put into Serbian language).
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/