1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

- Slovak .po file updates from (Jan Tomka <judas@linux.sk>)

- "Save Workspace state" confirmation switch on the exit dialog panels
  (based on a patch from Jan Tomka <judas@linux.sk>)
This commit is contained in:
dan
2001-11-05 23:19:46 +00:00
parent b1565d01c4
commit 72150b1da7
18 changed files with 1591 additions and 1456 deletions

View File

@@ -7,6 +7,9 @@ Changes since version 0.70.0:
- Fixed compilation for systems that required -lintl for WINGs - Fixed compilation for systems that required -lintl for WINGs
(Jim Knoble <jmknoble@pobox.com>) (Jim Knoble <jmknoble@pobox.com>)
- Removed redundant include/lib paths from the get-*-flags scripts - Removed redundant include/lib paths from the get-*-flags scripts
- Updated slovak .po files (Jan Tomka <judas@linux.sk>)
- Added "Save workspace state" switch button on the exit confirmation panel
(based on a patch sent by Jan Tomka <judas@linux.sk>)
Changes since version 0.65.1: Changes since version 0.65.1:

View File

@@ -1,6 +1,6 @@
(Toto je len preklad dosť starého súboru! Ak by ste mali skutočne problémy (Toto je len preklad dosť starého súboru! Ak by ste mali skutočne problémy
s Window Makerom a slovenčinou a v tomto súbore by ste nenašli pomoc, s Window Makerom a slovenčinou a v tomto súbore by ste nenašli pomoc,
pošlite popis problému na adresu <tomka@oalevice.sk>.) pošlite popis problému na adresu <judas@linux.sk>.)
Ak vám nefunguje podpora miestnych nastavení, skontrolujte nasledujúce: Ak vám nefunguje podpora miestnych nastavení, skontrolujte nasledujúce:

1
TODO
View File

@@ -12,7 +12,6 @@ Do ASAP:
Need to do: Need to do:
=========== ===========
- put a "Do not save workspace state" in the exit confirmation dialog
- allow user to select/restore default root menu from wprefs - allow user to select/restore default root menu from wprefs
- support for X11R6.4 extension for getting extra visual info in wrlib's - support for X11R6.4 extension for getting extra visual info in wrlib's
automatic best context guessing automatic best context guessing

View File

@@ -385,6 +385,7 @@ typedef struct WMListItem {
typedef struct WMAlertPanel { typedef struct WMAlertPanel {
WMWindow *win; /* window */ WMWindow *win; /* window */
WMBox *vbox; WMBox *vbox;
WMBox *hbox;
WMButton *defBtn; /* default button */ WMButton *defBtn; /* default button */
WMButton *altBtn; /* alternative button */ WMButton *altBtn; /* alternative button */
WMButton *othBtn; /* other button */ WMButton *othBtn; /* other button */

View File

@@ -7,29 +7,19 @@ CLEANFILES = $(CATALOGS) WINGs.pot
EXTRA_DIST = cs.po sk.po EXTRA_DIST = cs.po sk.po
POTFILES = \ POTFILES = \
$(top_builddir)/WINGs/configuration.c \
$(top_builddir)/WINGs/connection.c \ $(top_builddir)/WINGs/connection.c \
$(top_builddir)/WINGs/dragdestination.c \
$(top_builddir)/WINGs/dragsource.c \
$(top_builddir)/WINGs/error.c \ $(top_builddir)/WINGs/error.c \
$(top_builddir)/WINGs/findfile.c \ $(top_builddir)/WINGs/findfile.c \
$(top_builddir)/WINGs/hashtable.c \
$(top_builddir)/WINGs/host.c \ $(top_builddir)/WINGs/host.c \
$(top_builddir)/WINGs/international.c \
$(top_builddir)/WINGs/memory.c \
$(top_builddir)/WINGs/proplist.c \ $(top_builddir)/WINGs/proplist.c \
$(top_builddir)/WINGs/userdefaults.c \
$(top_builddir)/WINGs/wcolor.c \ $(top_builddir)/WINGs/wcolor.c \
$(top_builddir)/WINGs/wcolorpanel.c \ $(top_builddir)/WINGs/wcolorpanel.c \
$(top_builddir)/WINGs/wfilepanel.c \ $(top_builddir)/WINGs/wfilepanel.c \
$(top_builddir)/WINGs/wfont.c \ $(top_builddir)/WINGs/wfont.c \
$(top_builddir)/WINGs/wfontpanel.c \ $(top_builddir)/WINGs/wfontpanel.c \
$(top_builddir)/WINGs/widgets.c \ $(top_builddir)/WINGs/widgets.c \
$(top_builddir)/WINGs/wruler.c \ $(top_builddir)/WINGs/wruler.c
$(top_builddir)/WINGs/wtext.c \
$(top_builddir)/WINGs/wview.c \
$(top_builddir)/WINGs/wtextfield.c \
$(top_builddir)/WINGs/wwindow.c
SUFFIXES = .po .mo SUFFIXES = .po .mo

View File

@@ -5,7 +5,7 @@ in the top of the WindowMaker source tree.
File Language Note Current Maintainer File Language Note Current Maintainer
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
cs.po Czech 1 Jiri Hnidek <Jiri.Hnidek@vslib.cz cs.po Czech 1 Jiri Hnidek <Jiri.Hnidek@vslib.cz
sk.po Slovak Jan "judas" Tomka <tomka@oalevice.sk> sk.po Slovak 1 Jan 'judas' Tomka <judas@linux.sk>
Notes Notes

View File

@@ -2,63 +2,30 @@
# (C) 2001 Jan "judas" Tomka # (C) 2001 Jan "judas" Tomka
# #
# Original translation by Jan "judas" Tomka on Feb 25 2001 # Original translation by Jan "judas" Tomka on Feb 25 2001
# Currently maintained by Jan "judas" Tomka <tomka@oalevice.sk> # Currently maintained by Jan "judas" Tomka <judas@linux.sk>
# #
# Version history: # Version history:
# WM-ver author email date # WM-ver author email date
# 0.65.1 Jan "judas" Tomka <judas@linux.sk> Aug 08 2001
# 0.70.0 Jan "judas" Tomka <judas@linux.sk> Oct 15 2001
# 0.70.1 Jan "judas" Tomka <judas@linux.sk> Nov 02 2001
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WINGs 0.64.0\n" "Project-Id-Version: WINGs 0.70.1\n"
"POT-Creation-Date: 2001-02-24 19:10+0100\n" "POT-Creation-Date: 2001-11-02 15:04+0100\n"
"PO-Revision-Date: 2001-02-25 22:00+0100\n" "PO-Revision-Date: 2001-11-02 22:00+0100\n"
"Last-Translator: Jan \"judas\" Tomka <tomka@oalevice>\n" "Last-Translator: Jan \"judas\" Tomka <judas@linux.sk>\n"
"Language-Team: Slovak <sk@li.org>\n" "Language-Team: Slovak <sk@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: unknown\n" "Content-Transfer-Encoding: 8bit\n"
#: ../../WINGs/connection.c:451 ../../WINGs/connection.c:516 #: ../../WINGs/connection.c:462 ../../WINGs/connection.c:527
#: ../../WINGs/connection.c:559 #: ../../WINGs/connection.c:570
msgid "Bad address-service-protocol combination" msgid "Bad address-service-protocol combination"
msgstr "Nesprávna kombinácia adresa-slu¾ba-protokol" msgstr "Nesprávna kombinácia adresa-slu¾ba-protokol"
#: ../../WINGs/dragsource.c:541
msgid "DND selection lost during drag operation..."
msgstr "DND výber sa stratil poèas operácie »ahania..."
#: ../../WINGs/dragsource.c:610
#, c-format
msgid "drag & drop timed out while waiting for response from 0x%x\n"
msgstr "èas pre drag & drop vypr¹al poèas èakania na odpoveï z 0x%x\n"
#: ../../WINGs/dragsource.c:728
msgid "could not get ownership or DND selection"
msgstr "nemo¾no získa» vlastníctvo alebo DND výber"
#: ../../WINGs/dragsource.c:898
#, c-format
msgid "drag source received unexpected XdndFinished message from %x"
msgstr "zdroj »ahania prijal neèakanú správu XdndFinished z %x"
#: ../../WINGs/dragsource.c:1040
#, c-format
msgid "unknown XDND action %s from 0x%x"
msgstr "neznáma XDND akcia %s z 0x%x"
#: ../../WINGs/dragsource.c:1073
msgid "received invalid drag & drop type list"
msgstr "prijatý nesprávny zoznam typov drag & drop"
#: ../../WINGs/dragsource.c:1161
msgid "received Enter event in bad order"
msgstr "prijatá udalos» Enter v nesprávnom poradí"
#: ../../WINGs/dragsource.c:1168
#, c-format
msgid "received drag & drop request with unsupported version %i"
msgstr "prijatá po¾iadavka drag & drop s nepodporovanou verziou %i"
#: ../../WINGs/error.c:56 #: ../../WINGs/error.c:56
#, c-format #, c-format
msgid "Unknown error %d" msgid "Unknown error %d"
@@ -91,47 +58,144 @@ msgstr "nemo
msgid "could not get password entry for user %s" msgid "could not get password entry for user %s"
msgstr "nemo¾no zisti» informácie o u¾ívateµovi %s" msgstr "nemo¾no zisti» informácie o u¾ívateµovi %s"
#: ../../WINGs/hashtable.c:275
msgid "rebuilding hash table...\n"
msgstr ""
#: ../../WINGs/hashtable.c:279
msgid "finished rebuild.\n"
msgstr ""
#: ../../WINGs/host.c:116 #: ../../WINGs/host.c:116
msgid "Cannot get current host name" msgid "Cannot get current host name"
msgstr "Nemo¾no zisti» aktuálne meno poèítaèa" msgstr "Nemo¾no zisti» aktuálne meno poèítaèa"
#: ../../WINGs/memory.c:94 #: ../../WINGs/proplist.c:150
msgid "malloc() failed. Retrying after 2s." msgid "Only string or data is supported for a proplist dictionary key"
msgstr "chyba malloc(). Nový pokus o 2s." msgstr "Pre kµúè slovníka proplist je podporovaný len re»azec alebo dáta"
#: ../../WINGs/memory.c:103 #: ../../WINGs/proplist.c:184 ../../WINGs/proplist.c:236
msgid "Really Bad Error: recursive malloc() failure." #: ../../WINGs/proplist.c:394 ../../WINGs/proplist.c:474
msgstr "Naozaj zlá chyba: rekurzívna chyba malloc()." #: ../../WINGs/proplist.c:1071 ../../WINGs/proplist.c:1123
#: ../../WINGs/proplist.c:1242 ../../WINGs/proplist.c:1321
#: ../../WINGs/proplist.c:1442 ../../WINGs/proplist.c:1489
msgid "Used proplist functions on non-WMPropLists objects"
msgstr "Pou¾itá proplist funkcia na iných ako WMPropLists objektoch"
#: ../../WINGs/memory.c:106 ../../WINGs/memory.c:146 #: ../../WINGs/proplist.c:630
msgid "virtual memory exhausted" msgid "unterminated PropList string"
msgstr "virtuálna pamä» vyèerpaná" msgstr "neukonèený PropList re»azec"
#: ../../WINGs/memory.c:133 #: ../../WINGs/proplist.c:670
msgid "realloc() failed. Retrying after 2s." msgid "unterminated PropList data"
msgstr "chyba realloc(). Nový pokus o 2s." msgstr "neukonèené PropList dáta"
#: ../../WINGs/memory.c:142 #: ../../WINGs/proplist.c:678
msgid "Really Bad Error: recursive realloc() failure." msgid "unterminated PropList data (missing hexdigit)"
msgstr "Naozaj zlá chyba: rekurzívna chyba realloc()." msgstr "neukonèené PropList dáta (chýbajúca hex èíslica)"
#: ../../WINGs/memory.c:205 #: ../../WINGs/proplist.c:690
msgid "non hexdigit character in PropList data"
msgstr "v PropList dátach je znak, ktorý nie je hex èíslicou"
#: ../../WINGs/proplist.c:725
msgid "unterminated PropList array"
msgstr "neukonèené PropList pole"
#: ../../WINGs/proplist.c:733
msgid "missing or unterminated PropList array"
msgstr "chýbajúce alebo neukonèené PropList pole"
#: ../../WINGs/proplist.c:743
msgid "could not get PropList array element"
msgstr "nemo¾no zisti» prvok PropList poµa"
#: ../../WINGs/proplist.c:772
msgid "unterminated PropList dictionary"
msgstr "neukonèený PropList slovník"
#: ../../WINGs/proplist.c:789
msgid "missing PropList dictionary key"
msgstr "chýbajúci kµúè PropList slovníka"
#: ../../WINGs/proplist.c:791
msgid "missing PropList dictionary entry key or unterminated dictionary"
msgstr "chýbajúci kµúè polo¾ky PropList slovníka alebo neukonèený slovník"
#: ../../WINGs/proplist.c:799
msgid "error parsing PropList dictionary key"
msgstr "chyba pri parsovaní kµúèa PropList slovníka"
#: ../../WINGs/proplist.c:807
msgid "missing = in PropList dictionary entry"
msgstr "chýbajúce = v polo¾ke PropList slovníka"
#: ../../WINGs/proplist.c:815
msgid "error parsing PropList dictionary entry value"
msgstr "chyba pri parsovaní hodnoty polo¾ky PropList slovníka"
#: ../../WINGs/proplist.c:823
msgid "missing ; in PropList dictionary entry"
msgstr "chýbajúca ; v polo¾ke PropList slovníka"
#: ../../WINGs/proplist.c:884
msgid ""
"was expecting a string, data, array or dictionary. If it's a string, try "
"enclosing it with \"."
msgstr ""
"oèakávaný bol re»azec, dáta, pole alebo slovník. Ak je to re»azec, skúste ho "
"uzavrie» medzi \"."
#: ../../WINGs/proplist.c:888
msgid "Comments are not allowed inside WindowMaker owned domain files."
msgstr "Komentáre v doménových súboroch Window Makera nie sú povolené."
#: ../../WINGs/proplist.c:1512 ../../WINGs/proplist.c:1576
msgid "extra data after end of property list"
msgstr "prebytoèné dáta na konci property listu"
#: ../../WINGs/proplist.c:1547
#, c-format #, c-format
msgid "trying to release unexisting data %p" msgid "could not open domain file %s for reading"
msgstr "pokus uvoµni» neexistujúce dáta %p" msgstr "nemo¾no otvori» doménový súbor %s na èítanie"
#: ../../WINGs/memory.c:210 #: ../../WINGs/proplist.c:1554
#, c-format #, c-format
msgid "RELEASING %p\n" msgid "could not get size for domain file %s"
msgstr "UVO¥NENIE %p\n" msgstr "nemo¾no zisti» veµkos» doménového súboru %s"
#: ../../WINGs/proplist.c:1566
#, c-format
msgid "error reading from file %s"
msgstr "chyba èítania zo súboru %s"
#: ../../WINGs/proplist.c:1617
#, c-format
msgid "mkstemp (%s) failed"
msgstr "chyba mkstemp (%s)"
#: ../../WINGs/proplist.c:1628
#, c-format
msgid "mktemp (%s) failed"
msgstr "chyba mktemp(%s)"
#: ../../WINGs/proplist.c:1639
#, c-format
msgid "open (%s) failed"
msgstr "chyba pri otváraní (%s)"
#: ../../WINGs/proplist.c:1646
#, c-format
msgid "writing to file: %s failed"
msgstr "chyba pri zápise do súboru: %s"
#: ../../WINGs/proplist.c:1654
#, c-format
msgid "fclose (%s) failed"
msgstr "chyba fclose (%s)"
#: ../../WINGs/proplist.c:1663
#, c-format
msgid "rename ('%s' to '%s') failed"
msgstr "chyba rename ('%s' na '%s')"
#. something happened with the file. just overwrite it
#: ../../WINGs/userdefaults.c:194 ../../WINGs/userdefaults.c:210
#, c-format
msgid "cannot read domain from file '%s' when syncing"
msgstr "nemo¾no èíta» doménu zo súboru '%s' pri synchronizácii"
#: ../../WINGs/wcolor.c:198 ../../WINGs/wcolor.c:211 ../../WINGs/wcolor.c:250 #: ../../WINGs/wcolor.c:198 ../../WINGs/wcolor.c:211 ../../WINGs/wcolor.c:250
#: ../../WINGs/wcolor.c:291 #: ../../WINGs/wcolor.c:291
@@ -153,105 +217,105 @@ msgstr "
#: ../../WINGs/wcolor.c:291 #: ../../WINGs/wcolor.c:291
msgid "dark gray" msgid "dark gray"
msgstr "tmavo ¹edú" msgstr "tmavo¹edú"
#: ../../WINGs/wcolorpanel.c:410 #: ../../WINGs/wcolorpanel.c:416
msgid "Colors" msgid "Colors"
msgstr "Farby" msgstr "Farby"
#: ../../WINGs/wcolorpanel.c:600 ../../WINGs/wcolorpanel.c:2819 #: ../../WINGs/wcolorpanel.c:606 ../../WINGs/wcolorpanel.c:2825
msgid "Brightness" msgid "Brightness"
msgstr "Svetlos»" msgstr "Svetlos»"
#: ../../WINGs/wcolorpanel.c:602 ../../WINGs/wcolorpanel.c:678 #: ../../WINGs/wcolorpanel.c:608 ../../WINGs/wcolorpanel.c:684
#: ../../WINGs/wcolorpanel.c:711 ../../WINGs/wcolorpanel.c:745 #: ../../WINGs/wcolorpanel.c:717 ../../WINGs/wcolorpanel.c:751
#: ../../WINGs/wcolorpanel.c:805 ../../WINGs/wcolorpanel.c:839 #: ../../WINGs/wcolorpanel.c:811 ../../WINGs/wcolorpanel.c:845
#: ../../WINGs/wcolorpanel.c:873 ../../WINGs/wcolorpanel.c:908 #: ../../WINGs/wcolorpanel.c:879 ../../WINGs/wcolorpanel.c:914
#: ../../WINGs/wcolorpanel.c:2159 ../../WINGs/wcolorpanel.c:2821 #: ../../WINGs/wcolorpanel.c:2165 ../../WINGs/wcolorpanel.c:2827
#: ../../WINGs/wcolorpanel.c:2857 ../../WINGs/wcolorpanel.c:2893 #: ../../WINGs/wcolorpanel.c:2863 ../../WINGs/wcolorpanel.c:2899
#: ../../WINGs/wcolorpanel.c:3741 #: ../../WINGs/wcolorpanel.c:3747
msgid "Color Panel: Could not allocate memory" msgid "Color Panel: Could not allocate memory"
msgstr "Panel farieb: Nemo¾no alokova» pamä»" msgstr "Panel farieb: Nemo¾no alokova» pamä»"
#: ../../WINGs/wcolorpanel.c:675 ../../WINGs/wcolorpanel.c:676 #: ../../WINGs/wcolorpanel.c:681 ../../WINGs/wcolorpanel.c:682
msgid "Red" msgid "Red"
msgstr "Èervená" msgstr "Èervená"
#: ../../WINGs/wcolorpanel.c:708 ../../WINGs/wcolorpanel.c:709 #: ../../WINGs/wcolorpanel.c:714 ../../WINGs/wcolorpanel.c:715
msgid "Green" msgid "Green"
msgstr "Zelená" msgstr "Zelená"
#: ../../WINGs/wcolorpanel.c:742 ../../WINGs/wcolorpanel.c:743 #: ../../WINGs/wcolorpanel.c:748 ../../WINGs/wcolorpanel.c:749
msgid "Blue" msgid "Blue"
msgstr "Modrá" msgstr "Modrá"
#: ../../WINGs/wcolorpanel.c:802 ../../WINGs/wcolorpanel.c:803 #: ../../WINGs/wcolorpanel.c:808 ../../WINGs/wcolorpanel.c:809
msgid "Cyan" msgid "Cyan"
msgstr "" msgstr "Azúrová"
#: ../../WINGs/wcolorpanel.c:836 ../../WINGs/wcolorpanel.c:837 #: ../../WINGs/wcolorpanel.c:842 ../../WINGs/wcolorpanel.c:843
msgid "Magenta" msgid "Magenta"
msgstr "" msgstr "Purpurová"
#: ../../WINGs/wcolorpanel.c:870 ../../WINGs/wcolorpanel.c:871 #: ../../WINGs/wcolorpanel.c:876 ../../WINGs/wcolorpanel.c:877
msgid "Yellow" msgid "Yellow"
msgstr "®ltá" msgstr "®ltá"
#: ../../WINGs/wcolorpanel.c:905 ../../WINGs/wcolorpanel.c:906 #: ../../WINGs/wcolorpanel.c:911 ../../WINGs/wcolorpanel.c:912
msgid "Black" msgid "Black"
msgstr "Èierna" msgstr "Èierna"
#: ../../WINGs/wcolorpanel.c:986 #: ../../WINGs/wcolorpanel.c:992
msgid "Spectrum" msgid "Spectrum"
msgstr "Spektrum" msgstr "Spektrum"
#: ../../WINGs/wcolorpanel.c:1016 #: ../../WINGs/wcolorpanel.c:1022
msgid "Palette" msgid "Palette"
msgstr "Paleta" msgstr "Paleta"
#: ../../WINGs/wcolorpanel.c:1022 #: ../../WINGs/wcolorpanel.c:1028
msgid "New from File..." msgid "New from File..."
msgstr "Nová zo súboru..." msgstr "Nová zo súboru..."
#: ../../WINGs/wcolorpanel.c:1023 ../../WINGs/wcolorpanel.c:1071 #: ../../WINGs/wcolorpanel.c:1029 ../../WINGs/wcolorpanel.c:1077
#: ../../WINGs/wcolorpanel.c:1088 #: ../../WINGs/wcolorpanel.c:1094
msgid "Rename..." msgid "Rename..."
msgstr "Premenova»..." msgstr "Premenova»..."
#: ../../WINGs/wcolorpanel.c:1024 ../../WINGs/wcolorpanel.c:1072 #: ../../WINGs/wcolorpanel.c:1030 ../../WINGs/wcolorpanel.c:1078
#: ../../WINGs/wcolorpanel.c:1089 ../../WINGs/wcolorpanel.c:3316 #: ../../WINGs/wcolorpanel.c:1095 ../../WINGs/wcolorpanel.c:3322
msgid "Remove" msgid "Remove"
msgstr "Odstráni»" msgstr "Odstráni»"
#: ../../WINGs/wcolorpanel.c:1025 #: ../../WINGs/wcolorpanel.c:1031
msgid "Copy" msgid "Copy"
msgstr "Kopírova»" msgstr "Kopírova»"
#: ../../WINGs/wcolorpanel.c:1026 #: ../../WINGs/wcolorpanel.c:1032
msgid "New from Clipboard" msgid "New from Clipboard"
msgstr "" msgstr "Nová z nástenky"
#: ../../WINGs/wcolorpanel.c:1047 #: ../../WINGs/wcolorpanel.c:1053
msgid "X11-Colors" msgid "X11-Colors"
msgstr "Farby X11" msgstr "Farby X11"
#: ../../WINGs/wcolorpanel.c:1064 #: ../../WINGs/wcolorpanel.c:1070
msgid "Color" msgid "Color"
msgstr "Farba" msgstr "Farba"
#: ../../WINGs/wcolorpanel.c:1070 #: ../../WINGs/wcolorpanel.c:1076
msgid "Add..." msgid "Add..."
msgstr "Prida»..." msgstr "Prida»..."
#: ../../WINGs/wcolorpanel.c:1080 #: ../../WINGs/wcolorpanel.c:1086
msgid "List" msgid "List"
msgstr "Zoznam" msgstr "Zoznam"
#: ../../WINGs/wcolorpanel.c:1087 #: ../../WINGs/wcolorpanel.c:1093
msgid "New..." msgid "New..."
msgstr "Nový..." msgstr "Nový..."
#: ../../WINGs/wcolorpanel.c:1226 #: ../../WINGs/wcolorpanel.c:1232
#, c-format #, c-format
msgid "" msgid ""
"Color Panel: Could not create directory %s needed to store configurations" "Color Panel: Could not create directory %s needed to store configurations"
@@ -259,77 +323,77 @@ msgstr ""
"Panel farieb: Nemo¾no vytvori» adresár %s potrebný na ulo¾enie nastavení" "Panel farieb: Nemo¾no vytvori» adresár %s potrebný na ulo¾enie nastavení"
#. Delete the file, it doesn't belong here #. Delete the file, it doesn't belong here
#: ../../WINGs/wcolorpanel.c:1232 ../../WINGs/wcolorpanel.c:3202 #: ../../WINGs/wcolorpanel.c:1238 ../../WINGs/wcolorpanel.c:3208
#: ../../WINGs/wcolorpanel.c:3206 #: ../../WINGs/wcolorpanel.c:3212
msgid "File Error" msgid "File Error"
msgstr "Chyba súboru" msgstr "Chyba súboru"
#: ../../WINGs/wcolorpanel.c:1233 #: ../../WINGs/wcolorpanel.c:1239
msgid "Could not create ColorPanel configuration directory" msgid "Could not create ColorPanel configuration directory"
msgstr "Nemo¾no vytvori» konfiguraèný adresár panelu farieb" msgstr "Nemo¾no vytvori» konfiguraèný adresár panelu farieb"
#: ../../WINGs/wcolorpanel.c:1234 ../../WINGs/wcolorpanel.c:3203 #: ../../WINGs/wcolorpanel.c:1240 ../../WINGs/wcolorpanel.c:3209
#: ../../WINGs/wcolorpanel.c:3208 ../../WINGs/wcolorpanel.c:3235 #: ../../WINGs/wcolorpanel.c:3214 ../../WINGs/wcolorpanel.c:3241
#: ../../WINGs/wfilepanel.c:243 ../../WINGs/wfilepanel.c:641 #: ../../WINGs/wfilepanel.c:250 ../../WINGs/wfilepanel.c:647
#: ../../WINGs/wfilepanel.c:653 ../../WINGs/wfilepanel.c:752 #: ../../WINGs/wfilepanel.c:659 ../../WINGs/wfilepanel.c:760
#: ../../WINGs/wfilepanel.c:963 ../../WINGs/wfontpanel.c:717 #: ../../WINGs/wfilepanel.c:971 ../../WINGs/wfontpanel.c:709
msgid "OK" msgid "OK"
msgstr "OK" msgstr "OK"
#: ../../WINGs/wcolorpanel.c:1240 ../../WINGs/wcolorpanel.c:1276 #: ../../WINGs/wcolorpanel.c:1246 ../../WINGs/wcolorpanel.c:1282
#: ../../WINGs/wcolorpanel.c:1294 #: ../../WINGs/wcolorpanel.c:1300
msgid "Color Panel: Could not find file" msgid "Color Panel: Could not find file"
msgstr "Panel farieb: Nemo¾no nájs» súbor" msgstr "Panel farieb: Nemo¾no nájs» súbor"
#: ../../WINGs/wcolorpanel.c:1481 ../../WINGs/wcolorpanel.c:1546 #: ../../WINGs/wcolorpanel.c:1487 ../../WINGs/wcolorpanel.c:1552
#: ../../WINGs/wcolorpanel.c:1610 #: ../../WINGs/wcolorpanel.c:1616
msgid "Color Panel: X failed request" msgid "Color Panel: X failed request"
msgstr "Panel farieb: chyba po¾iadavky X" msgstr "Panel farieb: chyba po¾iadavky X"
#: ../../WINGs/wcolorpanel.c:2855 #: ../../WINGs/wcolorpanel.c:2861
msgid "Saturation" msgid "Saturation"
msgstr "Saturácia" msgstr "Saturácia"
#: ../../WINGs/wcolorpanel.c:2891 #: ../../WINGs/wcolorpanel.c:2897
msgid "Hue" msgid "Hue"
msgstr "Odtieò" msgstr "Odtieò"
#: ../../WINGs/wcolorpanel.c:3141 #: ../../WINGs/wcolorpanel.c:3147
msgid "Open Palette" msgid "Open Palette"
msgstr "Otvori» paletu" msgstr "Otvori» paletu"
#: ../../WINGs/wcolorpanel.c:3203 #: ../../WINGs/wcolorpanel.c:3209
msgid "Invalid file format !" msgid "Invalid file format !"
msgstr "Nesprávny súborový formát!" msgstr "Nesprávny súborový formát!"
#: ../../WINGs/wcolorpanel.c:3205 #: ../../WINGs/wcolorpanel.c:3211
#, c-format #, c-format
msgid "can't remove file %s" msgid "can't remove file %s"
msgstr "namo¾no odstráni» súbor %s" msgstr "namo¾no odstráni» súbor %s"
#: ../../WINGs/wcolorpanel.c:3207 #: ../../WINGs/wcolorpanel.c:3213
msgid "Couldn't remove file from Configuration Directory !" msgid "Couldn't remove file from Configuration Directory !"
msgstr "Nemo¾no odstráni» súbor z konfiguraèného adresára!" msgstr "Nemo¾no odstráni» súbor z konfiguraèného adresára!"
#: ../../WINGs/wcolorpanel.c:3234 #: ../../WINGs/wcolorpanel.c:3240
msgid "Rename" msgid "Rename"
msgstr "Premenova»" msgstr "Premenova»"
#: ../../WINGs/wcolorpanel.c:3234 #: ../../WINGs/wcolorpanel.c:3240
msgid "Rename palette to:" msgid "Rename palette to:"
msgstr "Premenova» paletu:" msgstr "Premenova» paletu:"
#: ../../WINGs/wcolorpanel.c:3235 ../../WINGs/wfilepanel.c:252 #: ../../WINGs/wcolorpanel.c:3241 ../../WINGs/wfilepanel.c:259
#: ../../WINGs/wfilepanel.c:653 ../../WINGs/wfilepanel.c:752 #: ../../WINGs/wfilepanel.c:659 ../../WINGs/wfilepanel.c:760
msgid "Cancel" msgid "Cancel"
msgstr "Zru¹i»" msgstr "Zru¹i»"
#. Careful, this palette exists already #. Careful, this palette exists already
#: ../../WINGs/wcolorpanel.c:3251 ../../WINGs/wfilepanel.c:752 #: ../../WINGs/wcolorpanel.c:3257 ../../WINGs/wfilepanel.c:760
msgid "Warning" msgid "Warning"
msgstr "Varovanie" msgstr "Varovanie"
#: ../../WINGs/wcolorpanel.c:3252 #: ../../WINGs/wcolorpanel.c:3258
msgid "" msgid ""
"Palette already exists !\n" "Palette already exists !\n"
"\n" "\n"
@@ -339,24 +403,24 @@ msgstr ""
"\n" "\n"
"Prepísa»?" "Prepísa»?"
#: ../../WINGs/wcolorpanel.c:3252 ../../WINGs/wcolorpanel.c:3316 #: ../../WINGs/wcolorpanel.c:3258 ../../WINGs/wcolorpanel.c:3322
msgid "No" msgid "No"
msgstr "Nie" msgstr "Nie"
#: ../../WINGs/wcolorpanel.c:3252 ../../WINGs/wcolorpanel.c:3316 #: ../../WINGs/wcolorpanel.c:3258 ../../WINGs/wcolorpanel.c:3322
msgid "Yes" msgid "Yes"
msgstr "Áno" msgstr "Áno"
#: ../../WINGs/wcolorpanel.c:3284 #: ../../WINGs/wcolorpanel.c:3290
#, c-format #, c-format
msgid "Couldn't rename palette %s to %s\n" msgid "Couldn't rename palette %s to %s\n"
msgstr "Nemo¾no premenova» paletu %s na %s\n" msgstr "Nemo¾no premenova» paletu %s na %s\n"
#: ../../WINGs/wcolorpanel.c:3310 #: ../../WINGs/wcolorpanel.c:3316
msgid "This will permanently remove the palette " msgid "This will permanently remove the palette "
msgstr "Paleta bude natrvalo zmazaná" msgstr "Paleta bude natrvalo zmazaná"
#: ../../WINGs/wcolorpanel.c:3313 #: ../../WINGs/wcolorpanel.c:3319
msgid "" msgid ""
".\n" ".\n"
"\n" "\n"
@@ -366,140 +430,140 @@ msgstr ""
"\n" "\n"
"Ste si istý, ¾e chcete odstráni» túto paletu?" "Ste si istý, ¾e chcete odstráni» túto paletu?"
#: ../../WINGs/wcolorpanel.c:3338 #: ../../WINGs/wcolorpanel.c:3344
#, c-format #, c-format
msgid "Couldn't remove palette %s\n" msgid "Couldn't remove palette %s\n"
msgstr "Nemo¾no odstráni» paletu %s\n" msgstr "Nemo¾no odstráni» paletu %s\n"
#: ../../WINGs/wcolorpanel.c:3643 #: ../../WINGs/wcolorpanel.c:3649
#, c-format #, c-format
msgid "Could not open %s" msgid "Could not open %s"
msgstr "Nemo¾no otvori» %s" msgstr "Nemo¾no otvori» %s"
#: ../../WINGs/wcolorpanel.c:3650 #: ../../WINGs/wcolorpanel.c:3656
#, c-format #, c-format
msgid "Could not create %s" msgid "Could not create %s"
msgstr "Nemo¾no vytvori» %s" msgstr "Nemo¾no vytvori» %s"
#: ../../WINGs/wcolorpanel.c:3661 #: ../../WINGs/wcolorpanel.c:3667
#, c-format #, c-format
msgid "Write error on file %s" msgid "Write error on file %s"
msgstr "Chyba zápisu do súboru %s" msgstr "Chyba zápisu do súboru %s"
#: ../../WINGs/wcolorpanel.c:3706 #: ../../WINGs/wcolorpanel.c:3712
msgid "Color Panel: Color unspecified" msgid "Color Panel: Color unspecified"
msgstr "Panel farieb: Ne¹pecifikovaná farba" msgstr "Panel farieb: Ne¹pecifikovaná farba"
#: ../../WINGs/wfilepanel.c:228 #: ../../WINGs/wfilepanel.c:235
msgid "Name:" msgid "Name:"
msgstr "Meno:" msgstr "Meno:"
#: ../../WINGs/wfilepanel.c:325 ../../WINGs/wfilepanel.c:390 #: ../../WINGs/wfilepanel.c:332 ../../WINGs/wfilepanel.c:396
msgid "Open" msgid "Open"
msgstr "Otvori»" msgstr "Otvori»"
#: ../../WINGs/wfilepanel.c:343 ../../WINGs/wfilepanel.c:396 #: ../../WINGs/wfilepanel.c:350 ../../WINGs/wfilepanel.c:402
msgid "Save" msgid "Save"
msgstr "Ulo¾i»" msgstr "Ulo¾i»"
#: ../../WINGs/wfilepanel.c:556 #: ../../WINGs/wfilepanel.c:562
#, c-format #, c-format
msgid "WINGs: could not open directory %s\n" msgid "WINGs: could not open directory %s\n"
msgstr "WINGs: nemo¾no otvori» adresár %s\n" msgstr "WINGs: nemo¾no otvori» adresár %s\n"
#: ../../WINGs/wfilepanel.c:574 #: ../../WINGs/wfilepanel.c:580
#, c-format #, c-format
msgid "WINGs: could not stat %s\n" msgid "WINGs: could not stat %s\n"
msgstr "WINGs: nemo¾no zisti» informácie o %s\n" msgstr "WINGs: nemo¾no zisti» informácie o %s\n"
#: ../../WINGs/wfilepanel.c:641 ../../WINGs/wfilepanel.c:962 #: ../../WINGs/wfilepanel.c:647 ../../WINGs/wfilepanel.c:970
#: ../../WINGs/wfontpanel.c:716 #: ../../WINGs/wfontpanel.c:708
msgid "Error" msgid "Error"
msgstr "Chyba" msgstr "Chyba"
#: ../../WINGs/wfilepanel.c:652 #: ../../WINGs/wfilepanel.c:658
msgid "Create Directory" msgid "Create Directory"
msgstr "Vytvori» adresár" msgstr "Vytvori» adresár"
#: ../../WINGs/wfilepanel.c:653 #: ../../WINGs/wfilepanel.c:659
msgid "Enter directory name" msgid "Enter directory name"
msgstr "Meno adresára" msgstr "Meno adresára"
#: ../../WINGs/wfilepanel.c:689 ../../WINGs/wfilepanel.c:728 #: ../../WINGs/wfilepanel.c:695 ../../WINGs/wfilepanel.c:734
#: ../../WINGs/wfilepanel.c:757 ../../WINGs/wfilepanel.c:785 #: ../../WINGs/wfilepanel.c:765 ../../WINGs/wfilepanel.c:793
msgid "Permission denied." msgid "Permission denied."
msgstr "Prístup zamietnutý." msgstr "Prístup zamietnutý."
#: ../../WINGs/wfilepanel.c:692 #: ../../WINGs/wfilepanel.c:698
#, c-format #, c-format
msgid "'%s' already exists." msgid "'%s' already exists."
msgstr "'%s' u¾ existuje" msgstr "'%s' u¾ existuje"
#: ../../WINGs/wfilepanel.c:695 #: ../../WINGs/wfilepanel.c:701
msgid "Path does not exist." msgid "Path does not exist."
msgstr "Cesta neexistuje." msgstr "Cesta neexistuje."
#: ../../WINGs/wfilepanel.c:725 ../../WINGs/wfilepanel.c:782 #: ../../WINGs/wfilepanel.c:731 ../../WINGs/wfilepanel.c:790
#, c-format #, c-format
msgid "'%s' does not exist." msgid "'%s' does not exist."
msgstr "'%s' neexistuje." msgstr "'%s' neexistuje."
#: ../../WINGs/wfilepanel.c:732 ../../WINGs/wfilepanel.c:789 #: ../../WINGs/wfilepanel.c:738 ../../WINGs/wfilepanel.c:797
msgid "Insufficient memory available." msgid "Insufficient memory available."
msgstr "Nedostatok pamäti." msgstr "Nedostatok pamäti."
#: ../../WINGs/wfilepanel.c:736 ../../WINGs/wfilepanel.c:793 #: ../../WINGs/wfilepanel.c:742 ../../WINGs/wfilepanel.c:801
#, c-format #, c-format
msgid "'%s' is on a read-only filesystem." msgid "'%s' is on a read-only filesystem."
msgstr "'%s' je na súborovom systéme len pre èítanie." msgstr "'%s' je na súborovom systéme len pre èítanie."
#: ../../WINGs/wfilepanel.c:739 ../../WINGs/wfilepanel.c:769 #: ../../WINGs/wfilepanel.c:745 ../../WINGs/wfilepanel.c:777
#: ../../WINGs/wfilepanel.c:796 #: ../../WINGs/wfilepanel.c:804
#, c-format #, c-format
msgid "Can not delete '%s'." msgid "Can not delete '%s'."
msgstr "Nemo¾no odstráni» '%s'." msgstr "Nemo¾no odstráni» '%s'."
#: ../../WINGs/wfilepanel.c:745 #: ../../WINGs/wfilepanel.c:752
#, c-format #, c-format
msgid "Delete directory %s ?" msgid "Delete directory %s ?"
msgstr "Odstráni» adresár %s?" msgstr "Odstráni» adresár %s?"
#: ../../WINGs/wfilepanel.c:748 #: ../../WINGs/wfilepanel.c:756
#, c-format #, c-format
msgid "Delete file %s ?" msgid "Delete file %s ?"
msgstr "Odstráni» súbor %s?" msgstr "Odstráni» súbor %s?"
#: ../../WINGs/wfilepanel.c:760 #: ../../WINGs/wfilepanel.c:768
#, c-format #, c-format
msgid "Directory '%s' does not exist." msgid "Directory '%s' does not exist."
msgstr "Adresár '%s' neexistuje." msgstr "Adresár '%s' neexistuje."
#: ../../WINGs/wfilepanel.c:763 #: ../../WINGs/wfilepanel.c:771
#, c-format #, c-format
msgid "Directory '%s' is not empty." msgid "Directory '%s' is not empty."
msgstr "Adresár '%s' nie je prázdny." msgstr "Adresár '%s' nie je prázdny."
#: ../../WINGs/wfilepanel.c:766 #: ../../WINGs/wfilepanel.c:774
#, c-format #, c-format
msgid "Directory '%s' is busy." msgid "Directory '%s' is busy."
msgstr "Adresár '%s' je pou¾ívaný." msgstr "Adresár '%s' je pou¾ívaný."
#: ../../WINGs/wfilepanel.c:779 #: ../../WINGs/wfilepanel.c:787
#, c-format #, c-format
msgid "'%s' is a directory." msgid "'%s' is a directory."
msgstr "'%s' je adresár." msgstr "'%s' je adresár."
#: ../../WINGs/wfilepanel.c:821 #: ../../WINGs/wfilepanel.c:829
#, c-format #, c-format
msgid "An error occured browsing '%s'." msgid "An error occured browsing '%s'."
msgstr "Pri prehliadaní '%s' nastala chyba." msgstr "Pri prehliadaní '%s' nastala chyba."
#: ../../WINGs/wfilepanel.c:825 #: ../../WINGs/wfilepanel.c:833
#, c-format #, c-format
msgid "'%s' is not a directory." msgid "'%s' is not a directory."
msgstr "'%s' nie je adresár." msgstr "'%s' nie je adresár."
#: ../../WINGs/wfilepanel.c:962 #: ../../WINGs/wfilepanel.c:970
msgid "File does not exist." msgid "File does not exist."
msgstr "Súbor neexistuje." msgstr "Súbor neexistuje."
@@ -512,8 +576,7 @@ msgstr "nasleduj
#, c-format #, c-format
msgid "" msgid ""
"the string \"%s\" will be used in place of any characters from those sets." "the string \"%s\" will be used in place of any characters from those sets."
msgstr "" msgstr "re»azec \"%s\" bude pou¾itý namiesto znakov z týchto sád."
"re»azec \"%s\" bude pou¾itý namiesto znakov z týchto sád."
#: ../../WINGs/wfont.c:282 ../../WINGs/wfont.c:318 #: ../../WINGs/wfont.c:282 ../../WINGs/wfont.c:318
#, c-format #, c-format
@@ -540,11 +603,11 @@ msgstr "Sk
#: ../../WINGs/wfontpanel.c:211 #: ../../WINGs/wfontpanel.c:211
msgid "Family" msgid "Family"
msgstr "" msgstr "Rodina"
#: ../../WINGs/wfontpanel.c:222 #: ../../WINGs/wfontpanel.c:222
msgid "Typeface" msgid "Typeface"
msgstr "" msgstr "Vzhµad"
#: ../../WINGs/wfontpanel.c:233 #: ../../WINGs/wfontpanel.c:233
msgid "Size" msgid "Size"
@@ -552,56 +615,51 @@ msgstr "Ve
#: ../../WINGs/wfontpanel.c:252 #: ../../WINGs/wfontpanel.c:252
msgid "Set" msgid "Set"
msgstr "" msgstr "Sada"
#: ../../WINGs/wfontpanel.c:257 #: ../../WINGs/wfontpanel.c:257
msgid "Revert" msgid "Revert"
msgstr "" msgstr "Obráti»"
#: ../../WINGs/wfontpanel.c:717 #: ../../WINGs/wfontpanel.c:709
msgid "Could not retrieve font list" msgid "Could not retrieve font list"
msgstr "Nemo¾no obdr¾a» zoznam fontov" msgstr "Nemo¾no obdr¾a» zoznam fontov"
#: ../../WINGs/wfontpanel.c:729 #: ../../WINGs/wfontpanel.c:721
#, c-format #, c-format
msgid "font name %s is longer than 256, which is invalid." msgid "font name %s is longer than 256, which is invalid."
msgstr "meno fontu %s je dlh¹ie ako 256, èo je nesprávne." msgstr "meno fontu %s je dlh¹ie ako 256, èo je nesprávne."
#: ../../WINGs/wfontpanel.c:880 #: ../../WINGs/wfontpanel.c:868
msgid "Roman" msgid "Roman"
msgstr "" msgstr "roman"
#: ../../WINGs/wfontpanel.c:871
msgid "Italic"
msgstr "kurzíva"
#: ../../WINGs/wfontpanel.c:873
msgid "Oblique"
msgstr "¹ikmé"
#: ../../WINGs/wfontpanel.c:875
msgid "Rev Italic"
msgstr "obr. kurzíva"
#: ../../WINGs/wfontpanel.c:877
msgid "Rev Oblique"
msgstr "obr. ¹ikmé"
#: ../../WINGs/wfontpanel.c:883 #: ../../WINGs/wfontpanel.c:883
msgid "Italic"
msgstr ""
#: ../../WINGs/wfontpanel.c:885
msgid "Oblique"
msgstr ""
#: ../../WINGs/wfontpanel.c:887
msgid "Rev Italic"
msgstr ""
#: ../../WINGs/wfontpanel.c:889
msgid "Rev Oblique"
msgstr ""
#: ../../WINGs/wfontpanel.c:895
msgid "Normal" msgid "Normal"
msgstr "" msgstr "normálne"
#: ../../WINGs/widgets.c:414 #: ../../WINGs/widgets.c:415
#, c-format #, c-format
msgid "WINGs: could not load widget images file: %s" msgid "WINGs: could not load widget images file: %s"
msgstr "WINGs: nemo¾no naèíta» súbor s obrázkami pre widgety: %s" msgstr "WINGs: nemo¾no naèíta» súbor s obrázkami pre widgety: %s"
#: ../../WINGs/widgets.c:525 #: ../../WINGs/widgets.c:761
#, c-format
msgid "WINGs: could not open display %s"
msgstr "WINGs: nemo¾no otvori» display %s"
#: ../../WINGs/widgets.c:717
msgid "" msgid ""
"could not load any fonts. Make sure your font installationand locale " "could not load any fonts. Make sure your font installationand locale "
"settings are correct." "settings are correct."
@@ -612,54 +670,3 @@ msgstr ""
#: ../../WINGs/wruler.c:189 #: ../../WINGs/wruler.c:189
msgid "0 inches" msgid "0 inches"
msgstr "0 palcov" msgstr "0 palcov"
#: ../../WINGs/wtext.c:1212
msgid "...for this app will surely crash :-)\n"
msgstr ""
#: ../../WINGs/wtext.c:2084
msgid "didn't get it\n"
msgstr ""
#: ../../WINGs/wtext.c:2726
#, c-format
msgid "type is [%s]\n"
msgstr ""
#: ../../WINGs/wtext.c:2797
msgid "could not request data for dropped data"
msgstr ""
#: ../../WINGs/wtext.c:2995
msgid "could not create text's view\n"
msgstr ""
#: ../../WINGs/wview.c:219
msgid "trying to realize widget of unrealized parent"
msgstr ""
#: ../../WINGs/wview.c:267
msgid "trying to reparent realized view to unrealized parent"
msgstr ""
#: ../../WINGs/wtextfield.c:490
msgid "only left alignment is supported in textfields"
msgstr "pre textové polia je povolené len µavé zarovnanie"
#pozor, co je STRING?
#: ../../WINGs/wwindow.c:222
msgid "window title conversion error... using STRING encoding"
msgstr "chyba konverzie titulu okna... pou¾ije sa kódovanie STRING"
#: ../../WINGs/wwindow.c:313
msgid "could not allocate memory for window size hints"
msgstr "nemo¾no alokova» pamä» pre pokyny veµkosti okna"
#: ../../WINGs/wwindow.c:586
msgid "could not allocate memory for WM hints"
msgstr "nemo¾no alokova» pamä» pre pokyny WM"
#: ../../WINGs/wwindow.c:627
msgid "icon title conversion error..using STRING encoding"
msgstr "chyba konverzie titulu ikony... pou¾ije sa kódovanie STRING"

View File

@@ -181,11 +181,11 @@ WMCreateAlertPanel(WMScreen *scrPtr, WMWindow *owner,
WMSetLabelTextAlignment(panel->mLbl, WACenter); WMSetLabelTextAlignment(panel->mLbl, WACenter);
} }
hbox = WMCreateBox(panel->vbox); panel->hbox = WMCreateBox(panel->vbox);
WMSetBoxBorderWidth(hbox, 10); WMSetBoxBorderWidth(panel->hbox, 10);
WMSetBoxHorizontal(hbox, True); WMSetBoxHorizontal(panel->hbox, True);
WMMapWidget(hbox); WMMapWidget(panel->hbox);
WMAddBoxSubview(panel->vbox, WMWidgetView(hbox), False, True, 44, 0, 0); WMAddBoxSubview(panel->vbox, WMWidgetView(panel->hbox), False, True, 44, 0, 0);
/* create buttons */ /* create buttons */
if (otherButton) if (otherButton)
@@ -221,9 +221,9 @@ WMCreateAlertPanel(WMScreen *scrPtr, WMWindow *owner,
} }
if (defaultButton) { if (defaultButton) {
panel->defBtn = WMCreateCommandButton(hbox); panel->defBtn = WMCreateCommandButton(panel->hbox);
WMSetButtonAction(panel->defBtn, alertPanelOnClick, panel); WMSetButtonAction(panel->defBtn, alertPanelOnClick, panel);
WMAddBoxSubviewAtEnd(hbox, WMWidgetView(panel->defBtn), WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->defBtn),
False, True, dw, 0, 0); False, True, dw, 0, 0);
WMSetButtonText(panel->defBtn, defaultButton); WMSetButtonText(panel->defBtn, defaultButton);
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow); WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
@@ -231,21 +231,21 @@ WMCreateAlertPanel(WMScreen *scrPtr, WMWindow *owner,
WMSetButtonImagePosition(panel->defBtn, WIPRight); WMSetButtonImagePosition(panel->defBtn, WIPRight);
} }
if (alternateButton) { if (alternateButton) {
panel->altBtn = WMCreateCommandButton(hbox); panel->altBtn = WMCreateCommandButton(panel->hbox);
WMAddBoxSubviewAtEnd(hbox, WMWidgetView(panel->altBtn), WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->altBtn),
False, True, aw, 0, 5); False, True, aw, 0, 5);
WMSetButtonAction(panel->altBtn, alertPanelOnClick, panel); WMSetButtonAction(panel->altBtn, alertPanelOnClick, panel);
WMSetButtonText(panel->altBtn, alternateButton); WMSetButtonText(panel->altBtn, alternateButton);
} }
if (otherButton) { if (otherButton) {
panel->othBtn = WMCreateCommandButton(hbox); panel->othBtn = WMCreateCommandButton(panel->hbox);
WMSetButtonAction(panel->othBtn, alertPanelOnClick, panel); WMSetButtonAction(panel->othBtn, alertPanelOnClick, panel);
WMAddBoxSubviewAtEnd(hbox, WMWidgetView(panel->othBtn), WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->othBtn),
False, True, ow, 0, 5); False, True, ow, 0, 5);
WMSetButtonText(panel->othBtn, otherButton); WMSetButtonText(panel->othBtn, otherButton);
} }
WMMapSubwidgets(hbox); WMMapSubwidgets(panel->hbox);
WMCreateEventHandler(W_VIEW(panel->win), KeyPressMask, WMCreateEventHandler(W_VIEW(panel->win), KeyPressMask,
handleKeyPress, panel); handleKeyPress, panel);

View File

@@ -526,7 +526,7 @@ createPanel(_Panel *p)
data->param.exec.command = "eterm"; data->param.exec.command = "eterm";
data = putNewItem(panel, pad, ExecInfo, _("Run...")); data = putNewItem(panel, pad, ExecInfo, _("Run..."));
data->param.exec.command = "%a(Run,Type command to run)"; data->param.exec.command = _("%a(Run,Type command to run)");
data = putNewItem(panel, pad, ExecInfo, _("Netscape")); data = putNewItem(panel, pad, ExecInfo, _("Netscape"));
data->param.exec.command = "netscape"; data->param.exec.command = "netscape";

View File

@@ -8,8 +8,6 @@ EXTRA_DIST = pt.po hr.po fr.po ko.po cs.po ja.po zh_TW.Big5.po es.po\
zh_CN.po fi.po it.po ru.po de.po hu.po bg.po sk.po zh_CN.po fi.po it.po ru.po de.po hu.po bg.po sk.po
POTFILES = \ POTFILES = \
$(top_builddir)/WPrefs.app/main.c \
$(top_builddir)/WPrefs.app/WPrefs.c \
$(top_builddir)/WPrefs.app/Appearance.c \ $(top_builddir)/WPrefs.app/Appearance.c \
$(top_builddir)/WPrefs.app/Configurations.c \ $(top_builddir)/WPrefs.app/Configurations.c \
$(top_builddir)/WPrefs.app/Expert.c \ $(top_builddir)/WPrefs.app/Expert.c \
@@ -25,11 +23,11 @@ POTFILES = \
$(top_builddir)/WPrefs.app/Preferences.c \ $(top_builddir)/WPrefs.app/Preferences.c \
$(top_builddir)/WPrefs.app/TexturePanel.c \ $(top_builddir)/WPrefs.app/TexturePanel.c \
$(top_builddir)/WPrefs.app/Themes.c \ $(top_builddir)/WPrefs.app/Themes.c \
$(top_builddir)/WPrefs.app/WPrefs.c \
$(top_builddir)/WPrefs.app/WindowHandling.c \ $(top_builddir)/WPrefs.app/WindowHandling.c \
$(top_builddir)/WPrefs.app/Workspace.c \ $(top_builddir)/WPrefs.app/Workspace.c \
$(top_builddir)/WPrefs.app/double.c \ $(top_builddir)/WPrefs.app/imagebrowser.c \
$(top_builddir)/WPrefs.app/editmenu.c \ $(top_builddir)/WPrefs.app/main.c
$(top_builddir)/WPrefs.app/xmodifier.c
SUFFIXES = .po .mo SUFFIXES = .po .mo

View File

@@ -21,5 +21,5 @@ ru.po Russian Igor P. Roboul <igor@srcso.sochi.su>
de.po German Bernd Eggert <Bernd.Eggert@t-online.de> de.po German Bernd Eggert <Bernd.Eggert@t-online.de>
hu.po Hungarian Horvath Szabolcs <horvathsz@penguinpowered.com> hu.po Hungarian Horvath Szabolcs <horvathsz@penguinpowered.com>
bg.po Bulgarian Slavei Karadjov <slaff@exco.net> bg.po Bulgarian Slavei Karadjov <slaff@exco.net>
sk.po Slovak Jan "judas" Tomka <tomka@oalevice.sk> sk.po Slovak Jan 'judas' Tomka <judas@linux.sk>

File diff suppressed because it is too large Load Diff

View File

@@ -10,15 +10,18 @@ EXTRA_DIST = cs.po de.po es.po et.po fr.po gl.po ja.po ko.po nl.po pt.po \
POTFILES = \ POTFILES = \
$(top_builddir)/src/appicon.c \ $(top_builddir)/src/appicon.c \
$(top_builddir)/src/application.c \
$(top_builddir)/src/defaults.c \ $(top_builddir)/src/defaults.c \
$(top_builddir)/src/dialog.c \ $(top_builddir)/src/dialog.c \
$(top_builddir)/src/dock.c \ $(top_builddir)/src/dock.c \
$(top_builddir)/src/dockedapp.c \ $(top_builddir)/src/dockedapp.c \
$(top_builddir)/src/event.c \
$(top_builddir)/src/framewin.c \ $(top_builddir)/src/framewin.c \
$(top_builddir)/src/gnome.c \
$(top_builddir)/src/icon.c \ $(top_builddir)/src/icon.c \
$(top_builddir)/src/kwm.c \
$(top_builddir)/src/main.c \ $(top_builddir)/src/main.c \
$(top_builddir)/src/menu.c \ $(top_builddir)/src/menu.c \
$(top_builddir)/src/menureader.c \
$(top_builddir)/src/misc.c \ $(top_builddir)/src/misc.c \
$(top_builddir)/src/pixmap.c \ $(top_builddir)/src/pixmap.c \
$(top_builddir)/src/resources.c \ $(top_builddir)/src/resources.c \
@@ -33,9 +36,8 @@ POTFILES = \
$(top_builddir)/src/window.c \ $(top_builddir)/src/window.c \
$(top_builddir)/src/winmenu.c \ $(top_builddir)/src/winmenu.c \
$(top_builddir)/src/winspector.c \ $(top_builddir)/src/winspector.c \
$(top_builddir)/src/workspace.c \ $(top_builddir)/src/wmspec.c \
$(top_builddir)/src/xutil.c $(top_builddir)/src/workspace.c
SUFFIXES = .po .mo SUFFIXES = .po .mo

View File

@@ -33,7 +33,7 @@ ro.po Romanian Andrei Vuta <gigi_man@manag.pub.ro>
da.po Danish Birger Langkjer <langkjer@post3.tele.dk> da.po Danish Birger Langkjer <langkjer@post3.tele.dk>
zh_TW.Big5.po Chinese Li Wei Jih <lwj83@cs.ccu.edu.tw> zh_TW.Big5.po Chinese Li Wei Jih <lwj83@cs.ccu.edu.tw>
zh_CN.po Chinese Wang Jian <larkw@263.net> zh_CN.po Chinese Wang Jian <larkw@263.net>
sk.po Slovak Jan "judas" Tomka <tomka@oalevice.sk> sk.po Slovak Jan 'judas' Tomka <judas@linux.sk>
Milan Hromada <mhromada@elas.sk> Milan Hromada <mhromada@elas.sk>
bg.po Bulgarian Slavei Karadjov <slaff@exco.net> bg.po Bulgarian Slavei Karadjov <slaff@exco.net>
hu.po Hungarian HORVATH Szabolcs <horvaths@inf.elte.hu> hu.po Hungarian HORVATH Szabolcs <horvaths@inf.elte.hu>

1228
po/sk.po

File diff suppressed because it is too large Load Diff

View File

@@ -107,6 +107,64 @@ wMessageDialog(WScreen *scr, char *title, char *message,
} }
void
toggleSaveSession(WMWidget *w, void *data)
{
wPreferences.save_session_on_exit = WMGetButtonSelected((WMButton *) w);
}
int
wExitDialog(WScreen *scr, char *title, char *message,
char *defBtn, char *altBtn, char *othBtn)
{
WMAlertPanel *panel;
WMButton *saveSessionBtn;
Window parent;
WWindow *wwin;
int result;
panel = WMCreateAlertPanel(scr->wmscreen, NULL, title, message,
defBtn, altBtn, othBtn);
/* add save session button */
saveSessionBtn = WMCreateSwitchButton(panel->hbox);
WMSetButtonAction(saveSessionBtn, toggleSaveSession, NULL);
WMAddBoxSubview(panel->hbox, WMWidgetView(saveSessionBtn),
False, True, 200, 0, 0);
WMSetButtonText(saveSessionBtn, _("Save workspace state"));
WMSetButtonSelected(saveSessionBtn, wPreferences.save_session_on_exit);
WMRealizeWidget(saveSessionBtn);
WMMapWidget(saveSessionBtn);
parent = XCreateSimpleWindow(dpy, scr->root_win, 0, 0, 400, 180, 0, 0, 0);
XReparentWindow(dpy, WMWidgetXID(panel->win), parent, 0, 0);
wwin = wManageInternalWindow(scr, parent, None, NULL,
(scr->scr_width - 400)/2,
(scr->scr_height - 180)/2, 400, 180);
wwin->client_leader = WMWidgetXID(panel->win);
WMMapWidget(panel->win);
wWindowMap(wwin);
WMRunModalLoop(WMWidgetScreen(panel->win), WMWidgetView(panel->win));
result = panel->result;
WMUnmapWidget(panel->win);
wUnmanageWindow(wwin, False, False);
WMDestroyAlertPanel(panel);
XDestroyWindow(dpy, parent);
return result;
}
int int
wInputDialog(WScreen *scr, char *title, char *message, char **text) wInputDialog(WScreen *scr, char *title, char *message, char **text)

View File

@@ -174,21 +174,44 @@ static void
exitCommand(WMenu *menu, WMenuEntry *entry) exitCommand(WMenu *menu, WMenuEntry *entry)
{ {
static int inside = 0; static int inside = 0;
int result;
/* prevent reentrant calls */ /* prevent reentrant calls */
if (inside) if (inside)
return; return;
inside = 1; inside = 1;
if ((long)entry->clientdata==M_QUICK #define R_CANCEL 0
|| wMessageDialog(menu->frame->screen_ptr, _("Exit"), #define R_EXIT 1
_("Exit window manager?"),
_("Exit"), _("Cancel"), NULL)==WAPRDefault) { result = R_CANCEL;
if ((long)entry->clientdata==M_QUICK) {
result = R_EXIT;
} else {
int r, oldSaveSessionFlag;
oldSaveSessionFlag = wPreferences.save_session_on_exit;
r = wExitDialog(menu->frame->screen_ptr, _("Exit"),
_("Exit window manager?"),
_("Exit"), _("Cancel"), NULL);
if (r==WAPRDefault) {
result = R_EXIT;
} else if (r==WAPRAlternate) {
/* Don't modify the "save session on exit" flag if the
* user canceled the operation. */
wPreferences.save_session_on_exit = oldSaveSessionFlag;
}
}
if (result==R_EXIT) {
#ifdef DEBUG #ifdef DEBUG
printf("Exiting WindowMaker.\n"); printf("Exiting WindowMaker.\n");
#endif #endif
Shutdown(WSExitMode); Shutdown(WSExitMode);
} }
#undef R_EXIT
#undef R_CANCEL
inside = 0; inside = 0;
} }
@@ -229,15 +252,22 @@ shutdownCommand(WMenu *menu, WMenuEntry *entry)
} else } else
#endif #endif
{ {
int r; int r, oldSaveSessionFlag;
r = wMessageDialog(menu->frame->screen_ptr, oldSaveSessionFlag = wPreferences.save_session_on_exit;
_("Kill X session"),
_("Kill Window System session?\n" r = wExitDialog(menu->frame->screen_ptr,
"(all applications will be closed)"), _("Kill X session"),
_("Kill"), _("Cancel"), NULL); _("Kill Window System session?\n"
if (r==WAPRDefault) "(all applications will be closed)"),
result = R_KILL; _("Kill"), _("Cancel"), NULL);
if (r==WAPRDefault) {
result = R_KILL;
} else if (r==WAPRAlternate) {
/* Don't modify the "save session on exit" flag if the
* user canceled the operation. */
wPreferences.save_session_on_exit = oldSaveSessionFlag;
}
} }
} }

View File

@@ -1198,9 +1198,9 @@ createInspectorForWindow(WWindow *wwin, int xpos, int ypos,
#endif #endif
spec_text = _("The configuration will apply to all\n" spec_text = _("The configuration will apply to all\n"
"windows that have their WM_CLASS\n" "windows that have their WM_CLASS\n"
"property set to the above selected\n" "property set to the above selected\n"
"name, when saved."); "name, when saved.");
panel = wmalloc(sizeof(InspectorPanel)); panel = wmalloc(sizeof(InspectorPanel));
memset(panel, 0, sizeof(InspectorPanel)); memset(panel, 0, sizeof(InspectorPanel));