From 49b75faa6720988a0201d769c6eafc35946d6e90 Mon Sep 17 00:00:00 2001 From: mathias <mathias> Date: Mon, 31 Jan 2005 09:41:13 +0000 Subject: added cs_CZ-locales (thanx to Radek Kubicek) --- configure.in | 1 + nls/Makefile.am | 6 +- nls/cs_CZ/Makefile.am | 29 +++++ nls/cs_CZ/Translation.m | 259 ++++++++++++++++++++++++++++++++++++++++++ util/fluxbox-generate_menu.in | 43 ++++++- 5 files changed, 334 insertions(+), 4 deletions(-) create mode 100644 nls/cs_CZ/Makefile.am create mode 100644 nls/cs_CZ/Translation.m diff --git a/configure.in b/configure.in index 6e8ce9d..40acb6b 100644 --- a/configure.in +++ b/configure.in @@ -550,6 +550,7 @@ doc/Makefile doc/ru/Makefile nls/Makefile nls/C/Makefile +nls/cs_CZ/Makefile nls/da_DK/Makefile nls/es_ES/Makefile nls/et_EE/Makefile diff --git a/nls/Makefile.am b/nls/Makefile.am index b38d703..867a4df 100644 --- a/nls/Makefile.am +++ b/nls/Makefile.am @@ -1,9 +1,9 @@ # nls/Makefile.am for fluxbox - http://fluxbox.sf.net NLSTEST = @NLS@ -SUBDIRS = C da_DK es_ES et_EE fr_FR pt_BR ru_RU sv_SE \ - tr_TR it_IT pt_PT bg_BG ja_JP ko_KR lv_LV de_DE \ - nl_NL sl_SI pl_PL vi_VN +SUBDIRS = C cs_CZ da_DK es_ES et_EE fr_FR pt_BR ru_RU \ + sv_SE tr_TR it_IT pt_PT bg_BG ja_JP ko_KR \ + lv_LV de_DE nl_NL sl_SI pl_PL vi_VN MAINTAINERCLEANFILES = Makefile.in fluxbox-nls.hh EXTRA_DIST=fluxbox-nls.hh nlsinfo diff --git a/nls/cs_CZ/Makefile.am b/nls/cs_CZ/Makefile.am new file mode 100644 index 0000000..c6d0999 --- /dev/null +++ b/nls/cs_CZ/Makefile.am @@ -0,0 +1,29 @@ +# nls/cs_CZ/Makefile.am for Fluxbox - www.fluxbox.org + +THE_LANG = cs_CZ + +NLSTEST = @NLS@ +CLEANFILES = fluxbox.cat +MAINTAINERCLEANFILES = Makefile.in +MFILES = Translation.m +EXTRA_DIST= $(MFILES) + +all-local: fluxbox.cat +install-data-local: fluxbox.cat + @if test x$(NLSTEST) = "x-DNLS"; then \ + echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ + $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ + fi + +uninstall-local: + @if test x$(NLSTEST) = "x-DNLS"; then \ + rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ + rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ + fi + +fluxbox.cat: Translation.m + @if test x$(NLSTEST) = "x-DNLS"; then \ + $(gencat_cmd) fluxbox.cat Translation.m; \ + fi + diff --git a/nls/cs_CZ/Translation.m b/nls/cs_CZ/Translation.m new file mode 100644 index 0000000..9b6c681 --- /dev/null +++ b/nls/cs_CZ/Translation.m @@ -0,0 +1,259 @@ +$ codeset=ISO-8859-2 + +$set 1 #Align + +1 Dole uprost�ed +2 Dole vlevo +3 Dole vpravo +4 Horizont�ln� +5 Vlevo +6 Vlevo dole +7 Vlevo uprost�ed +8 Vlevo naho�e +9 Relativn� +10 Vpravo +11 Vpravo dole +12 Vpravo uprost�ed +13 Vpravo naho�e +14 Naho�e uprost�ed +15 Naho�e vlevo +16 Naho�e vpravo +17 Vertik�ln� + +$set 2 #BaseDisplay + +1 Ukon�uji... zaznamen�v�m p�d aplikace\n +2 Vyp�n�m\n +3 %s: zachycen sign�l %d\n + +$set 3 #Common + +1 Alpha +2 Automaticky skr�vat +3 Zkompilov�no +4 Nastaven� kompil�toru +5 Kompil�tor +6 Verze kompil�toru +7 Soubor init +8 Soubor s definic� kl�ves +9 Soubor s definic� menu +10 Soubor se stylem +11 Implicitn� +12 neaktivn� +13 Chyba +14 Verze Fluxboxu +15 Maximalizovat p�es v�echna okna +16 Viditeln� + +$set 4 #Configmenu + +1 Antialiasovan� fonty +2 Automatick� vyzvednut� okna +3 Vyzvednut� okna kliknut�m +4 Zam��en� okna kliknut�m +5 Odekorovat pom�jiv� okna +6 P�ep�n�n� ploch kole�kem my�i +7 Zam��it okno p�i zm�n� plochy +8 Model zam��en� okna +9 Zam��it nov� okna +10 Pln� maximalizace +11 Dithering obrazu +12 Pohyb okna i s obsahem +13 ��ste�n� nedbal� zam��en� okna +14 Nedbal� zam��en� okna +15 Prol�n�n� ploch +16 Vynutit pseudo-pr�hlednost +17 Alpha menu +18 Pr�hlednost +19 Alpha zam��en�ho okna +20 Alpha nezam��en�ho okna + +$set 5 #Ewmh + +1 Fatal: Out of memory, can't allocate for EWMH client list + +$set 6 #FbTkError + +1 Warning! Height > 3200 setting Height = 3200 +2 Warning! Width > 3200 setting Width = 3200 +3 Warning: can't load fallback font +4 Allocation error. +5 Error creating pixmap +6 Cant create XImage +7 Failed to read +8 Warning: Failed to find valid format for alpha. +9 Warning: Failed to create alpha picture. +10 Warning: Failed to create alpha pixmap. +11 Failed to find format for screen(%d) +12 Out of memory +13 Out of memory while allocating blue buffer. +14 Out of memory while allocating green buffer. +15 Out of memory while allocating red buffer. +16 Failed to read theme item +17 unsupported visual +18 Setting default value + +$set 7 #Fluxbox + +1 rc filename is invalid! +2 Failed to load groupfile +3 Failed to load database +4 Retrying with +5 Warning! Could not find screen to map window on! +6 Can't create %s directory +7 Couldn't find screens to manage.\nMake sure you don't have another window manager running. +8 Error parsing regular expression +9 Fatal! There can only one instance of fluxbox class. +10 Can not connect to X server.\nMake sure you started X before you start Fluxbox. +11 Warning: X server does not support locale +12 Warning: cannot set locale modifiers + +$set 8 #Gnome + +1 Fatal: Out of memory, can't allocate for GNOME client list + +$set 9 #Keys + +1 Keys: Error on line +2 Keys: Failed to merge keytree! +3 Keys: Invalid key/modifier on line + +$set 10 #Menu + +1 Konfigurace +2 Implicitn� menu Fluxboxu +3 Ukon�it +4 Minimalizovan� +5 Vrstva... +6 On Head... +7 Um�st�n� +8 Znovu na��st konfiguraci +9 Restart +10 xterm + +$set 11 #Remember + +1 Decorace +2 Rozm�r +3 Skok na plochu +4 Vrstva +5 Zapamatovat... +6 Pozice +7 Ulo�it p�i zav�en� +8 Zarolov�n� +9 P�i�pendlen� +10 Nezn�m� kl�vesy aplikace +11 Plocha +12 Hlavi�ka + +$set 12 #Screen + +1 BScreen::BScreen: an error occured while querying the X server.\n another window manager already running on display +2 W: %4d x H: %4d +3 W: 0000 x H: 0000 +4 BScreen::BScreen: managing screen %d using visual 0x%lx, depth %d\n +5 X: %4d x Y: %4d +6 0: 0000 x 0: 0000 + +$set 13 #Slit + +1 Klientsk� aplikace +2 Rolovat dol� +3 Rolovat nahoru +4 Um�st�n� Slitu +5 Vrstva Slitu +6 Slit on Head +7 Um�st�n� Slitu +8 Slit +9 Ulo�it SlitList + +$set 14 #Toolbar + +1 Upravit n�zev aktu�ln� plochy +2 Zobrazovat... +3 V�echna okna +4 Zminimalizovan� +5 ��dn� +6 Aktu�ln� plocha +7 Zminimalizovan� na aktu�ln� plo�e +8 Vrstva n�strojov� li�ty +9 Toolbar on Head +10 Um�st�n� n�strojov� li�ty +11 N�strojov� li�ta +12 ���ka (% ���ky obrazovky) +13 Hodiny: 24h +14 Hodiny: 12h +15 Upravit form�t hodin +16 Zobrazit obr�zky + +$set 15 #Window + +1 Beze jm�na + +$set 16 #Windowmenu + +1 Zav��t +2 Minimalizovat +3 Vrstva +4 Na pozad� +5 Maximalizovat +6 Do pop�ed� +7 Poslat na ... +8 Zarolovat +9 P�i�pendlit na v�echny plochy +10 Zab�t + +$set 17 #Workspace + +1 Plocha %d +2 Seznam ploch +3 Nov� plocha +4 Odstranit posledn� + +$set 18 #bsetroot + +1 %s: error: must specify one of: -solid, -mod, -gradient\n +2 Couldn't create pixmap atoms, giving up! +3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ +-display <string> display connection\n\ +-mod <x> <y> modula pattern\n\ +-foreground, -fg <color> modula foreground color\n\ +-background, -bg <color> modula background color\n\n\ +-gradient <texture> gradient texture\n\ +-from <color> gradient start color\n\ +-to <color> gradient end color\n\n\ +-solid <color> solid color\n\n\ +-help print this help text and exit\n + +$set 19 #main + +1 chyba: '-display' vy�aduje argument\n +2 Bad Alloc +3 Bad cast +4 Out of range +5 Runtime error +6 Standard Exception +7 Nezn�m� chyba +8 chyba: '-log' vy�aduje argument\n +9 Logovac� soubor +10 Loguji do +11 chyba: '-rc' vy�aduje argument\n +12 Fluxbox %s: (c) %s Henrik Kinnunen\n\n\ +-display <string>\t\tpouz�ije propojen� s displejem <string>.\n\ +-rc <string>\t\t\tpouzije alternativn� soubor zdroj� (resource file).\n\ +-version\t\t\tzobrazi verzi a skonci.\n\ +-info\t\t\t\tzobrazi nektere zajimave informace.\n\ +-log <filename>\t\t\tlogovat v�stup do souboru <filename>.\n\ +-help\t\t\t\tzobraz� tuto n�pov�du a skon��.\n\n +13 varov�n�: nemohu nastavit prom�nnou prost�ed� 'DISPLAY' + +$set 20 + +1 Nad dokem +2 Naspod +3 Plocha +4 Dok +5 Norm�ln� +6 Navrchu + + diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 3e3d564..4d3d028 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in @@ -614,6 +614,47 @@ case ${LC_ALL} in WORKSPACEMENU='������� ������������' XUTILSMENU='X-�������' ;; + + cs_CZ.ISO*) # Czech locales (ISO-8859-2 encodings) + ABOUTITEM='O programu...' + BACKGROUNDMENU='Pozad�' + BACKGROUNDMENUTITLE='Nastaven� pozad�' + BROWSERMENU='Prohl��e�e' + CONFIGUREMENU='Konfigurace' + EDITORMENU='Editory' + EXITITEM='Ukon�it' + FBSETTINGSMENU='Fluxbox Menu' + FILEUTILSMENU='Souborov� utility' + FLUXBOXCOMMAND='P��kaz Fluxboxu' + GAMESMENU='Hry' + GNOMEMENUTEXT='Gnome-menu' + GRAPHICMENU='Grafika' + KDEMENUTEXT='KDE-menu' + LOCKSCREEN='Zamknout obrazovku' + MISCMENU='R�zn�' + MULTIMEDIAMENU='Multim�dia' + MUSICMENU='Audio' + NETMENU='Internet' + NEWS='News' + OFFICEMENU='Kancel��' + RANDOMBACKGROUND='N�hodn� pozad�' + REGENERATEMENU='Obnoven� menu' + RELOADITEM='Obnoven� konfigurace' + RESTARTITEM='Restart' + RUNCOMMAND='Spustit program...' + SCREENSHOT='Screenshot' + STYLEMENUTITLE='Volba stylu...' + SYSTEMSTYLES='Syst�mov� styly' + TERMINALMENU='Termin�ly' + TOOLS='N�stroje' + USERSTYLES='U�ivatelsk� styly' + VIDEOMENU='Video' + WINDOWMANAGERS='Okenn� mana�ery' + WINDOWNAME='Jm�no okna' + WORKSPACEMENU='Seznam ploch' + XUTILSMENU='X-utility' + ;; + de_DE*) # german locales BACKGROUNDMENU='Hintergrundbilder' BACKGROUNDMENUTITLE='Hintergrundbild setzen' @@ -1491,7 +1532,7 @@ append_submenu "${MULTIMEDIAMENU}" append_submenu "${MUSICMENU}" normal_find xmms noatun alsaplayer gqmpeg aumix xmixer gmix kmix kscd \ grecord kmidi xplaycd soundtracker grip easytag audacity \ - zinf rhythmbox kaboodle beep-media-player + zinf rhythmbox kaboodle beep-media-player find_it cdcd append "[exec] (cdcd) {${DEFAULT_TERM} -e cdcd}" find_it cplay append "[exec] (cplay) {${DEFAULT_TERM} -e cplay}" find_it alsamixer append "[exec] (AlsaMixer) {${DEFAULT_TERM} -e alsamixer}" -- cgit v0.11.2