Merge lp:~dholbach/help-app/rewrite-links into lp:~ubuntu-touch-coreapps-drivers/help-app/trunk
Proposed by
Daniel Holbach
on 2015-02-24
| Status: | Merged |
|---|---|
| Merged at revision: | 53 |
| Proposed branch: | lp:~dholbach/help-app/rewrite-links |
| Merge into: | lp:~ubuntu-touch-coreapps-drivers/help-app/trunk |
| Prerequisite: | lp:~dholbach/help-app/break-out-po4a-operations |
| Diff against target: |
166 lines (+45/-13) 4 files modified
HACKING (+2/-1) edit-here/generate-translations (+1/-0) edit-here/po/de.po (+6/-5) edit-here/translations.py (+36/-7) |
| To merge this branch: | bzr merge lp:~dholbach/help-app/rewrite-links |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| David Planella | 2015-02-24 | Approve on 2015-02-24 | |
|
Review via email:
|
|||
Commit Message
This piece of code will make sure we end up with translations like this:
msgid "[Take me to the FAQ!]({
msgstr "[Zu den Antworten!
It'll ensure that the link in English (faq.md) will become lang-XX-faq.md in the translated version.
To post a comment you must log in.
| Daniel Holbach (dholbach) wrote : | # |
| Daniel Holbach (dholbach) wrote : | # |
It should be useful though, if we use the following naming scheme:
- index.en-us.html
- index.de.html
- get-in-
- get-in-
| David Planella (dpm) wrote : | # |
Good call on using polib! Looks good to me, I'd suggest going for the .$LANG.html change straight away, but if you think it makes sense to get this merged already first, sounds good to me too.
review:
Approve

.... on second thoughts, we might not need this. We could merge this though and use it until bug 1425010 is fixed. The code could still be useful in checking links at some stage (rogue translations breaking links).