Introduce en@cyrillic en@hebrew en@arabic and en@greek.

* po/Rules-translit: New file.
	* po/arabic.sed: Likewise.
	* po/cyrillic.sed: Likewise.
	* po/greek.sed: Likewise.
	* po/hebrew.sed: Likewise.
	* po/README: Add en@cyrillic en@hebrew en@arabic and en@greek.
	* po/Makefile.in.in: Add extra_dist4.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-04-01 21:53:46 +02:00
parent ac66b453df
commit da0d5b3f3b
8 changed files with 260 additions and 3 deletions

View file

@ -1,3 +1,15 @@
2012-04-01 Vladimir Serbinenko <phcoder@gmail.com>
Introduce en@cyrillic en@hebrew en@arabic and en@greek.
* po/Rules-translit: New file.
* po/arabic.sed: Likewise.
* po/cyrillic.sed: Likewise.
* po/greek.sed: Likewise.
* po/hebrew.sed: Likewise.
* po/README: Add en@cyrillic en@hebrew en@arabic and en@greek.
* po/Makefile.in.in: Add extra_dist4.
2012-04-01 Vladimir Serbinenko <phcoder@gmail.com> 2012-04-01 Vladimir Serbinenko <phcoder@gmail.com>
Handle big-endian minixfs (fixes minixfs tests on bigendian). Handle big-endian minixfs (fixes minixfs tests on bigendian).

View file

@ -67,10 +67,11 @@ GMOFILES = @GMOFILES@
UPDATEPOFILES = @UPDATEPOFILES@ UPDATEPOFILES = @UPDATEPOFILES@
DUMMYPOFILES = @DUMMYPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@
DISTFILES.common = Makefile.in.in remove-potcdate.sin \ DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) \
$(DISTFILES.common.extra3) $(DISTFILES.common.extra4)
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in POTFILES-shell.in \ DISTFILES = $(DISTFILES.common) Makevars POTFILES.in POTFILES-shell.in \
$(POFILES) $(GMOFILES) \ $(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) grub.d.sed README $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) $(DISTFILES.extra4) grub.d.sed README
POTFILES = \ POTFILES = \

View file

@ -10,7 +10,7 @@ that will hopefully clarify the situation.
Then create a po/LINGUAS file listing all the language codes: Then create a po/LINGUAS file listing all the language codes:
((cd po && ls *.po| cut -d. -f1; echo "en@quot"; echo "en@piglatin"; echo "de_CH") | sort |uniq | xargs) >po/LINGUAS ((cd po && ls *.po| cut -d. -f1; echo "en@quot"; echo "en@hebrew"; echo "de@hebrew"; echo "en@cyrillic"; echo "en@greek"; echo "en@arabic" ;echo "en@piglatin"; echo "de_CH") | sort |uniq | xargs) >po/LINGUAS
GRUB's build system will automatically detect those and include them GRUB's build system will automatically detect those and include them
in your install. in your install.

16
po/Rules-translit Normal file
View file

@ -0,0 +1,16 @@
DISTFILES.common.extra4 = hebrew.sed cyrillic.sed greek.sed arabic.sed Rules-translit
de@hebrew.po-create: de.po hebrew.sed
LC_ALL=C.UTF-8 $(MSGFILTER) -i $< -o $(srcdir)/de@hebrew.po sed -f $(srcdir)/hebrew.sed
en@hebrew.po-create: $(DOMAIN).pot hebrew.sed
LC_ALL=C.UTF-8 $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en@hebrew -o - 2>/dev/null | LC_ALL=C.UTF-8 $(MSGCONV) -t UTF-8 | LC_ALL=C.UTF-8 $(MSGFILTER) -o $(srcdir)/en@hebrew.po -i - sed -f $(srcdir)/hebrew.sed
en@cyrillic.po-create: $(DOMAIN).pot cyrillic.sed
LC_ALL=C.UTF-8 $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en@cyrillic -o - 2>/dev/null | LC_ALL=C.UTF-8 $(MSGCONV) -t UTF-8 | LC_ALL=C.UTF-8 $(MSGFILTER) -o $(srcdir)/en@cyrillic.po -i - sed -f $(srcdir)/cyrillic.sed
en@greek.po-create: $(DOMAIN).pot greek.sed
LC_ALL=C.UTF-8 $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en@greek -o - 2>/dev/null | LC_ALL=C.UTF-8 $(MSGCONV) -t UTF-8 | LC_ALL=C.UTF-8 $(MSGFILTER) -o $(srcdir)/en@greek.po -i - sed -f $(srcdir)/greek.sed
en@arabic.po-create: $(DOMAIN).pot arabic.sed
LC_ALL=C.UTF-8 $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en@arabic -o - 2>/dev/null | LC_ALL=C.UTF-8 $(MSGCONV) -t UTF-8 | LC_ALL=C.UTF-8 $(MSGFILTER) -o $(srcdir)/en@arabic.po -i - sed -f $(srcdir)/arabic.sed

81
po/arabic.sed Normal file
View file

@ -0,0 +1,81 @@
/^Project-Id-Version:/ b
/^Report-Msgid-Bugs-To:/ b
/^POT-Creation-Date:/ b
/^PO-Revision-Date:/ b
/^Last-Translator:/ b
/^Language-Team:/ b
/^Language:/ b
/^MIME-Version:/ b
/^Content-Type:/ b
/^Content-Transfer-Encoding:/ b
/^Plural-Forms:/ b
s,%\([0-9]*\)C,%\1#,g
s,a,ا,g
s,b,ب,g
s,c,ص,g
s,d,د,g
s,e,ع,g
s,f,ف,g
s,g,غ,g
s,h,ه,g
s,i,ִي,g
s,j,يِ,g
s,k,ك,g
s,l,ل,g
s,m,م,g
s,n,ن,g
s,o,و,g
s,p,پ‎,g
s,q,ق,g
s,r,ر,g
s,s,س,g
s,t,ت,g
s,u,و,g
s,v,و,g
s,w,و,g
s,x,كس,g
s,y,ي,g
s,z,ز,g
s,A,ا,g
s,B,ب,g
s,C,ص,g
s,D,د,g
s,E,ع,g
s,F,ف,g
s,G,غ,g
s,H,ه,g
s,I,ִي,g
s,J,يِ,g
s,K,ك,g
s,L,ل,g
s,M,م,g
s,N,ن,g
s,O,و,g
s,P,پ‎,g
s,Q,ق,g
s,R,ر,g
s,S,س,g
s,T,ت,g
s,U,و,g
s,V,و,g
s,W,و,g
s,X,كس,g
s,Y,ي,g
s,Z,ز,g
s,%\([0-9]*\)#,%\1C,g
s,%\([0-9]*\)ص,%\1c,g
s,%\([0-9]*\)د,%\1d,g
s,%\([0-9]*\)لد,%\1ld,g
s,%\([0-9]*\)للد,%\1lld,g
s,%\([0-9\.\*]*\)س,%\1s,g
s,%\([0-9]*\)لو,%\1lu,g
s,%\([0-9]*\)و,%\1u,g
s,%\([0-9]*\)للو,%\1llu,g
s,%\([0-9]*\)كس,%\1x,g
s,%\([0-9]*\)لكس,%\1lx,g
s,%\([0-9]*\)للكس,%\1llx,g

28
po/cyrillic.sed Normal file
View file

@ -0,0 +1,28 @@
/^Project-Id-Version:/ b
/^Report-Msgid-Bugs-To:/ b
/^POT-Creation-Date:/ b
/^PO-Revision-Date:/ b
/^Last-Translator:/ b
/^Language-Team:/ b
/^Language:/ b
/^MIME-Version:/ b
/^Content-Type:/ b
/^Content-Transfer-Encoding:/ b
/^Plural-Forms:/ b
y,abcdefghijklmnopqrstuvwxyz,абцдефгхийклмнопќрстувўѯѝз,
y,ABCDEFGHIJKLMNOPQRSTUVWXYZ,АБЦДЕФГХИЙКЛМНОПЌРСТУВЎѮЍЗ,
s,%\([0-9]*\)Ц,%\1C,g
s,%\([0-9]*\)ц,%\1c,g
s,%\([0-9]*\)д,%\1d,g
s,%\([0-9]*\)лд,%\1ld,g
s,%\([0-9]*\)ллд,%\1lld,g
s,%\([0-9\.\*]*\)с,%\1s,g
s,%\([0-9]*\)лу,%\1lu,g
s,%\([0-9]*\)у,%\1u,g
s,%\([0-9]*\)ллу,%\1llu,g
s,%\([0-9]*\)ѯ,%\1x,g
s,%\([0-9]*\)лѯ,%\1lx,g
s,%\([0-9]*\)ллѯ,%\1llx,g

30
po/greek.sed Normal file
View file

@ -0,0 +1,30 @@
/^Project-Id-Version:/ b
/^Report-Msgid-Bugs-To:/ b
/^POT-Creation-Date:/ b
/^PO-Revision-Date:/ b
/^Last-Translator:/ b
/^Language-Team:/ b
/^Language:/ b
/^MIME-Version:/ b
/^Content-Type:/ b
/^Content-Transfer-Encoding:/ b
/^Plural-Forms:/ b
s,%\([0-9]*\)C,%\1#,g
y,abcdefghijklmnopqrstuvwxyz,αϭϲδεφγχιϊκλμνοπϗρστυβωξϋζ,
y,ABCDEFGHIJKLMNOPQRSTUVWXYZ,ΑϬϲΔΕΦΓΧΙΪΚΛΜΝΟΠϏΡΣΤΥΒΩΞΫΖ,
s,%\([0-9]*\)#,%\1C,g
s,%\([0-9]*\)ϲ,%\1c,g
s,%\([0-9]*\)δ,%\1d,g
s,%\([0-9]*\)λδ,%\1ld,g
s,%\([0-9]*\)λλδ,%\1lld,g
s,%\([0-9\.\*]*\)σ,%\1s,g
s,%\([0-9]*\)λυ,%\1lu,g
s,%\([0-9]*\)υ,%\1u,g
s,%\([0-9]*\)λλυ,%\1llu,g
s,%\([0-9]*\)ξ,%\1x,g
s,%\([0-9]*\)λξ,%\1lx,g
s,%\([0-9]*\)λλξ,%\1llx,g

89
po/hebrew.sed Normal file
View file

@ -0,0 +1,89 @@
/^Project-Id-Version:/ b
/^Report-Msgid-Bugs-To:/ b
/^POT-Creation-Date:/ b
/^PO-Revision-Date:/ b
/^Last-Translator:/ b
/^Language-Team:/ b
/^Language:/ b
/^MIME-Version:/ b
/^Content-Type:/ b
/^Content-Transfer-Encoding:/ b
/^Plural-Forms:/ b
s,%\([0-9]*\)C,%\1#,g
s,a,א,g
s,b,בּ,g
s,c,צ,g
s,d,ד,g
s,e,ע,g
s,f,פֿ,g
s,g,ג,g
s,h,ה,g
s,i,ִי,g
s,j,י,g
s,k,כּ,g
s,l,ל,g
s,m,מ,g
s,n,נ,g
s,o,וֹ,g
s,p,פּ,g
s,q,ק,g
s,r,ר,g
s,s,ש,g
s,t,ת,g
s,u,וּ,g
s,v,בֿ,g
s,w,ו,g
s,x,כּס,g
s,y,יִ,g
s,z,ז,g
s,ü,ֻ,g
s,ä,ֶ,g
s,ö,ֵ,g
s,ß,סס,g
s,A,א,g
s,B,בּ,g
s,C,צ,g
s,D,ד,g
s,E,ע,g
s,F,פֿ,g
s,G,ג,g
s,H,ה,g
s,I,ִי,g
s,J,י,g
s,K,כּ,g
s,L,ל,g
s,M,מ,g
s,N,נ,g
s,O,וֹ,g
s,P,פּ,g
s,Q,ק,g
s,R,ר,g
s,S,ש,g
s,T,ת,g
s,U,וּ,g
s,V,בֿ,g
s,W,ו,g
s,X,כּס,g
s,Y,יִ,g
s,Z,ז,g
s,Ü,ֻ,g
s,Ä,ֶ,g
s,Ö,ֵ,g
s,ß,סס,g
s,%\([0-9]*\)#,%\1C,g
s,%\([0-9]*\)צ,%\1c,g
s,%\([0-9]*\)ד,%\1d,g
s,%\([0-9]*\)לד,%\1ld,g
s,%\([0-9]*\)ללד,%\1lld,g
s,%\([0-9\.\*]*\)ש,%\1s,g
s,%\([0-9]*\)לוּ,%\1lu,g
s,%\([0-9]*\)וּ,%\1u,g
s,%\([0-9]*\)ללוּ,%\1llu,g
s,%\([0-9]*\)כּס,%\1x,g
s,%\([0-9]*\)לכּס,%\1lx,g
s,%\([0-9]*\)ללכּס,%\1llx,g