Merge lp:~max-rabkin/ibid/translate-kreyol into lp:~ibid-core/ibid/old-trunk-1.6

Proposed by Max Rabkin on 2010-03-01
Status: Merged
Approved by: Stefano Rivera on 2010-03-01
Approved revision: 906
Merged at revision: 906
Proposed branch: lp:~max-rabkin/ibid/translate-kreyol
Merge into: lp:~ibid-core/ibid/old-trunk-1.6
Diff against target: 22 lines (+3/-2)
1 file modified
ibid/plugins/languages.py (+3/-2)
To merge this branch: bzr merge lp:~max-rabkin/ibid/translate-kreyol
Reviewer Review Type Date Requested Status
Michael Gorven Approve on 2010-03-01
Keegan Carruthers-Smith Approve on 2010-03-01
Stefano Rivera 2010-03-01 Approve on 2010-03-01
Review via email: mp+20368@code.launchpad.net
To post a comment you must log in.
Max Rabkin (max-rabkin) wrote :

Google Translate now supports Haitian Creole

Stefano Rivera (stefanor) :
review: Approve
review: Approve
Michael Gorven (mgorven) wrote :

 review approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ibid/plugins/languages.py'
2--- ibid/plugins/languages.py 2010-02-27 00:13:21 +0000
3+++ ibid/plugins/languages.py 2010-03-01 14:12:31 +0000
4@@ -160,7 +160,7 @@
5 'slovenian':'sl', 'spanish':'es', 'swahili':'sw',
6 'swedish':'sv', 'thai':'th', 'turkish':'tr', 'ukrainian':'uk',
7 'uzbek': 'uz', 'vietnamese':'vi', 'welsh':'cy',
8- 'yiddish':'yi'}
9+ 'yiddish': 'yi', 'haitian creole': 'ht'}
10
11 alt_lang_names = {'simplified':'zh-CN', 'simplified chinese':'zh-CN',
12 'traditional':'zh-TW', 'traditional chinese':'zh-TW',
13@@ -168,7 +168,8 @@
14 u'bokm\N{LATIN SMALL LETTER A WITH RING ABOVE}l':'no',
15 u'norwegian bokm\N{LATIN SMALL LETTER A WITH RING ABOVE}l':
16 'no',
17- 'farsi':'fa'}
18+ 'farsi': 'fa',
19+ 'haitian': 'ht', 'kreyol': 'ht'}
20
21 LANG_REGEX = '|'.join(lang_names.keys() + lang_names.values() +
22 alt_lang_names.keys())

Subscribers

People subscribed via source and target branches