1 diff -urN ffsearch-1.1.2/htdocs/ffsearch/lang/polish.php ffsearch-1.1.2.polish/htdocs/ffsearch/lang/polish.php
2 --- ffsearch-1.1.2/htdocs/ffsearch/lang/polish.php 1970-01-01 01:00:00.000000000 +0100
3 +++ ffsearch-1.1.2.polish/htdocs/ffsearch/lang/polish.php 2003-09-04 04:11:07.000000000 +0200
6 +if (!defined ('FAST_FILE_SEARCH'))
8 + header ("Location: index.php");
12 +# How is the translation done?
13 +# ---------------------------
15 +# The majority of texts are in a translation array:
16 +# $tr["english sentence"] = "translated sentence";
18 +# Some things remain in files - the helps and similar things.
19 +# Other files which need to be translated:
20 +# help_edit.php help_search.php
25 +$months = array ("Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa¼", "Lis", "Gru");
28 +if (defined ("FFS_SEARCH"))
30 + # the predefined file types in select.php (the main search page)
31 + $tr["ISO images"] = "obrazy ISO";
32 + $tr["music"] = "muzyka";
33 + $tr["pictures"] = "obrazki";
34 + $tr["software"] = "oprogramowanie";
36 + # the predefined times in select.php
37 + $tr["today"] = "dzisiaj";
38 + $tr["yesterday"] = "wczoraj";
39 + $tr["2 days ago"] = "2 dni temu";
40 + $tr["3 days ago"] = "3 dni temu";
41 + $tr["week ago"] = "tydzieñ temu";
42 + $tr["2 weeks ago"] = "2 tygodnie temu";
43 + $tr["month ago"] = "miesi±c temu";
45 + $tr["Searching is case insensitive."] = "Wyszukiwanie jest niewra¿liwe na wielko¶æ znaków.";
46 + $tr["Files (wildcard (?,*))"] = "Pliki (maski (?,*))";
47 + $tr["Files (substring)"] = "Pliki (podci±gi)";
48 + $tr["Files (regular expression)"] = "Pliki (Wyra¿enia regularne)";
49 + $tr["Directories (substring)"] = "Katalogi (podci±gi)";
50 + $tr["Directories (wildcard (?,*))"] = "Katalogi (maski (?,*))";
51 + $tr["Directories (regular expression)"] = "Katalogi (wyra¿enia regularne)";
52 + $tr["Search!"] = "Szukaj!";
53 + $tr["Fill in the parameters for"] = "Wype³nij parametry dla";
54 + $tr["Save settings (cookies required)"] = "Zachowaj ustawienia (wymaga ciasteczek)";
55 + $tr["Show only online hosts"] = "Poka¿ tylko komputery dostêpne w sieci";
56 + $tr["Print sizes in human readable format"] = "Drukuj rozmiary w ludzkim formacie";
57 + $tr["Search on"] = "Szukaj na";
58 + $tr["hosts"] = "serwerach"; # SMB and FTP hosts
59 + $tr["file size"] = "rozmiar pliku";
60 + $tr["Only files added since"] = "Tylko pliki dodane w ci±gu";
61 + $tr["Hits per page"] = "Trafieñ na stronê";
62 + $tr["Your history"] = "Twoja historia";
63 + $tr["Statistics"] = "Statystyki";
64 + $tr["Last change"] = "Ostatnia zmiana";
65 + $tr["SMBs"] = "SMBs";
66 + $tr["FTPs"] = "FTPs";
67 + $tr["Directories"] = "Katalogi";
68 + $tr["Files"] = "Pliki";
69 + $tr["Total size"] = "£±czny rozmiar";
70 + $tr["Queries"] = "Zapytania";
72 + $tr["others"] = "inne";
73 + $tr["uses some code from"] = "wykorzystuje troszkê kodu z";
74 + $tr["is distributed under the"] = "jest rozpowszechniany na licencji";
78 + $tr["Results for"] = "Rezultaty dla";
79 + $tr["More"] = "Wiêcej";
80 + $tr["New search"] = "Nowe wyszukiwanie";
81 + $tr["No hits"] = "Brak trafieñ";
82 + $tr["Hit"] = "Trafienie";
83 + $tr["Hits"] = "Trafienia";
87 +# FTP_LIST.PHP, FTP_HOST.PHP, FTP_DEL.PHP,
88 +# SMB_LIST.PHP, SMB_HOST.PHP, SMB_DEL.PHP:
91 +$tr["Add"] = "Dodaj";
92 +$tr["Update"] = "Uaktualnij";
93 +$tr["Edit"] = "Edytuj";
94 +$tr["Delete"] = "Usuñ";
95 +$tr["Purge"] = "Czy¶æ";
96 +$tr["Cancel"] = "Anuluj";
98 +if (defined ("FFS_HOST_LIST"))
101 + $tr["Add FTP server"] = "Dodaj serwer FTP";
102 + $tr["Edit FTP server"] = "Edytuj serwer FTP";
103 + $tr["Delete FTP server"] = "Usuñ serwer FTP";
104 + $tr["Purge FTP server"] = "Czy¶æ serwer FTP";
105 + $tr["Add SMB server"] = "Dodaj serwer SMB";
106 + $tr["Edit SMB server"] = "Edytuj serwer SMB";
107 + $tr["Delete SMB server"] = "Usuñ serwer SMB";
108 + $tr["Purge SMB server"] = "Czy¶æ serwer SMB";
110 + # results and errors
111 + $tr["Host name must be specified"] = "Musi byæ podana nazwa serwera";
112 + $tr["Workgroup must be specified"] = "Musi byæ podana nazwa grupy";
113 + $tr["is not valid IP address"] = "nie jest poprawnym adresem IP";
114 + $tr["is not valid DNS name or IP address"] = "nie jest poprawn± nazw± DNS ani adresem IP";
115 + $tr["Login must be specified"] = "Musi byæ podany login";
116 + $tr["Port is not valid"] = "Port nie jest poprawny";
117 + $tr["is not valid file name with absolute path"] = "nie jest poprawn± nazw± pliku z bezwzglêdn± ¶cie¿k± dostêpu";
118 + $tr["was added to list"] = "zosta³ dodany do listy";
119 + $tr["is already in the list"] = "jest ju¿ na li¶cie";
120 + $tr["was deleted"] = "zosta³ usuniêty";
121 + $tr["will be deleted during next crawl"] = "bêdzie usuniêty podczas nastêpnego przeszukiwania";
122 + $tr["will be purged during next crawl"] = "bêdzie wyczyszczony podczas nastêpnego przeszukiwania";
123 + # %s will be substituted by the hostname:
124 + $tr["__host_add_error__"] = "Wyst±pi³ b³±d podczas dodawania %s do listy";
125 + $tr["__host_updated__"] = "Informacje o %s zosta³y uaktualnione";
128 + $tr["Host"] = "Komputer";
129 + $tr["Host (DNS name or IP)"] = "Komputer (nazwa DNS lub IP)";
130 + $tr["Login"] = "Login";
131 + $tr["Password"] = "Has³o";
132 + $tr["Port"] = "Port";
133 + $tr["Starting directory"] = "Katalog pocz±tkowy";
134 + $tr["List of files"] = "Lista plików";
135 + $tr["Use passive mode"] = "U¿yj trybu passive";
136 + $tr["Use recursive ls (ls -lR) for getting file list"] = "U¿yj trybu rekursywnego ls (ls -lR) do uzyskania listy plików";
137 + $tr["(server must support it)"] = "(serwer musi to obs³ugiwaæ)";
138 + $tr["Comment"] = "Komentarze";
139 + $tr["Editable by"] = "Edytowalny przez";
140 + $tr["IP address"] = "Adres IP";
141 + $tr["Workgroup"] = "Grupa robocza";
142 + $tr["Shares"] = "Zasoby";
143 + $tr["Name"] = "Nazwa";
144 + $tr["File size"] = "Rozmiar pliku";
145 + $tr["Period"] = "Czêstotliwo¶æ";
146 + $tr["Counter"] = "Licznik";
147 + $tr["Scan order"] = "Kolejno¶æ skanowania";
148 + $tr["Expire count"] = "Expire count";
149 + $tr["Flags"] = "Flagi";
150 + $tr["Action"] = "Akcja";
151 + $tr["delete"] = "usuñ";
152 + $tr["purge"] = "kasuj";
156 +# COMMENTS.PHP, COMMENT_DEL.PHP:
157 +if (defined ("FFS_COMMENTS"))
159 + $tr["You are welcome to write here any comments, ideas, ..."] = "Zapraszamy do pisania tutaj Twoich komentarzy, pomys³ów, ...";
160 + $tr["Your name or nickname"] = "Twoje imiê lub pseudonim";
161 + $tr["Your e-mail"] = "Twój e-mail";
162 + $tr["optional"] = "nieobowi±zkowy";
163 + $tr["Comment text"] = "Tekst komentarza";
164 + $tr["Submit"] = "Wy¶lij";
165 + $tr["Delete comment"] = "Usuñ komentarz";
166 + $tr["Do you really want to delete this comment?"] = "Na pewno chcesz usun±æ ten komentarz?";
171 +if (defined ('FFS_ADMIN'))
173 + $tr["Change password"] = "Zmieñ has³o";
174 + $tr["Logout"] = "Wyloguj";
175 + $tr["Password was changed"] = "Has³o zosta³o zmienione";
176 + $tr["Password cannot be empty"] = "Has³o nie mo¿e byæ puste";
177 + $tr["Passwords do not match"] = "Has³a siê nie zgadzaj±";
178 + $tr["New password"] = "Nowe has³o";
179 + $tr["Reenter password"] = "Powtórz nowe has³o";
180 + $tr["Login name"] = "Twój login";
181 + $tr["Password"] = "Has³o";
182 + $tr["Login"] = "Login";
183 + $tr["There are no admins."] = "Nie ma adminów.";
184 + $tr["Admin name"] = "Nazwa admina";
185 + $tr["E-mail"] = "E-mail";
186 + $tr["Rights"] = "Prawa";
187 + $tr["Edit FTP list"] = "Edytyj listê FTP";
188 + $tr["Edit SMB list"] = "Edytuj listê SMB";
189 + $tr["Purge FTP server from list"] = "Kasuj serwery FTP z listy"; # purge == completely delete
190 + $tr["Purge SMB server from list"] = "Czy¶æ serwery SMB z listy";
191 + $tr["Delete comments"] = "Kasuj komentarze";
196 +$tr["Search"] = "Szukaj";
197 +$tr["FTP server list"] = "Lista serwerów FTP";
198 +$tr["SMB server list"] = "Lista serwerów SMB";
199 +$tr["Comments"] = "Komentarze";
200 +$tr["Admin"] = "Admin";
203 +# HELP_EDIT.PHP, HELP_SEARCH.PHP
204 +$tr["Help"] = "Pomoc";
207 +# CONFIG.PHP, DB.PHP:
208 +$tr["Error"] = "B³±d";
209 +$tr["Can't read configuration file"] = "Nie mogê czytaæ pliku z konfiguracj±";
210 +$tr["DB_NAME must be defined in configuration file"] = "DB_NAME musi byæ zdefiniowana w pliku konfiguracyjnym";
211 +$tr["DB_LOGIN must be defined in configuration file"] = "DB_LOGIN musi byæ zdefiniowany w pliku konfiguracyjnym";
212 +$tr["DB_PASSWORD must be defined in configuration file"] = "DB_PASSWORD musi byæ zdefiniowane w pliku konfiguracyjnym";
213 +$tr["Can't connect to database"] = "Nie mogê siê pod³±czyæ do bazy";
214 +$tr["Can't connect to master database"] = "Nie mogê siê pod³±czyæ do nadrzêdnej bazy";
217 +# Some things are inpossible to translate by the translation array
218 +# (for example there are different suffixes for different count of servers
219 +# in some languages), these things are translated by a function.
221 +function print_n_hits_in_s_seconds ($n, $s)
228 + echo " w ", sprintf ("%0.2f", $s), " sekund";
231 +function page_generated ($host, $time)
233 + echo "Ta strona zosta³a wygenerowana przez zapytanie z ",
234 + $host, strftime (" dnia %d.%m.%Y o %H:%M:%S", $time);
237 +function confirm_delete ($host, $purge = 0)
239 + echo "Na pewno chcesz ", ($purge ? "wyczy¶ciæ" : "usun±æ"), " $host?";
242 +function permition_host_add ($type) # $type = FTP or $type = SMB
244 + return "Zalogowa³e¶ siê jako admin z prawami by dodaæ serwer $type";
247 +function permition_host_edit ($HID)
249 + return "Nie ma serwera z HID = $HID na li¶cie lub<br />musisz siê zalogowaæ jako admin by móc edytowaæ ten serwer";
252 +function permition_host_delete ($HID, $type, $purge = 0) # $type = FTP or $type = SMB
254 + return "Nie ma serwera z HID = $HID na li¶cie lub<br />musisz siê zalogowaæ jako admin by mieæ prawa do " . ($purge ? "wyczyszenia" : "edycji lub wyczyszczenia") . " serwera $type";
257 +function permition_comment_delete ($CID)
259 + return "Nie ma komentarza z CID = $CID lub<br />musisz siê zalogowaæ jako admin by mieæ prawa do usuniêcia tego komentarza";
262 +function slow_queries_disabled ()
264 + global $c, $lang, $aid, $fast_query_minsize, $fast_query_maxsize;
266 + echo '<h1>Wolne zapytania zosta³y wy³±czone</h1>';
267 + echo "Szukaj przez maski lub podaj jakie¶ normalne znaki(nie '*' ani '?') na pocz±tku lub koñcu maski pliku(np *.iso)";
268 + if ($fast_query_minsize >= 0)
269 + echo '<br />lub podaj minimaln± wielko¶æ pliku jako"', $c["FAST_QUERY_MINSIZE"], '"';
270 + if ($fast_query_maxsize >= 0)
271 + echo '<br />lub podaj maksymaln± wielko¶æ pliku jako "', $c["FAST_QUERY_MAXSIZE"], '"';
272 + echo '.<br /><br /><a href="select.php?lang=', $lang, $aid, '">Powróæ z powrotem do parametrów wyszukiwañ</a>';
276 diff -urN ffsearch-1.1.2/htdocs/ffsearch/lang.php ffsearch-1.1.2.polish/htdocs/ffsearch/lang.php
277 --- ffsearch-1.1.2/htdocs/ffsearch/lang.php 2003-07-28 17:16:39.000000000 +0200
278 +++ ffsearch-1.1.2.polish/htdocs/ffsearch/lang.php 2003-09-04 04:13:08.000000000 +0200
280 "cz" => "cs", # Czech
281 "sk" => "cs", # Slovak
282 "lt" => "lt", # Lithuanian
283 - # the following translations have not been written yet
284 "pl" => "pl", # Polish
285 + # the following translations have not been written yet
286 "it" => "it", # Italian
287 "uk" => "uk", # Ukrainian
288 "ua" => "uk", # Ukrainian
298 "hu" => "lang/hungarian.php",
299 "lt" => "lang/lithuanian.php",
300 "nl" => "lang/dutch.php",
301 + "pl" => "lang/polish.php",
302 "ro" => "lang/romanian.php",
303 "ru" => "lang/russian.php",
304 "uk" => "lang/ukrainian.php",
306 "hu" => "iso-8859-2",
307 "lt" => "windows-1257",
308 "nl" => "iso-8859-1",
309 + "pl" => "iso-8859-2",
311 "ru" => "windows-1251",
313 diff -urN ffsearch-1.1.2/htdocs/ffsearch/top.php ffsearch-1.1.2.polish/htdocs/ffsearch/top.php
314 --- ffsearch-1.1.2/htdocs/ffsearch/top.php 2003-07-28 17:16:39.000000000 +0200
315 +++ ffsearch-1.1.2.polish/htdocs/ffsearch/top.php 2003-09-04 04:13:52.000000000 +0200
317 "hu" => array ("src" => "flag/hu.gif", "width" => 30, "height" => 20, "alt" => "Hungarian"),
318 "lt" => array ("src" => "flag/lt.gif", "width" => 30, "height" => 20, "alt" => "Lithuanian"),
319 "nl" => array ("src" => "flag/nl.gif", "width" => 30, "height" => 20, "alt" => "Dutch"),
320 + "pl" => array ("src" => "flag/pl.gif", "width" => 30, "height" => 20, "alt" => "Polish"),
321 "ro" => array ("src" => "flag/ro.gif", "width" => 30, "height" => 20, "alt" => "Romanian"),
322 "ru" => array ("src" => "flag/ru.gif", "width" => 30, "height" => 20, "alt" => "Russian"),
323 "uk" => array ("src" => "flag/uk.gif", "width" => 30, "height" => 20, "alt" => "Ukrainian"),
324 "zh" => array ("src" => "flag/zh.gif", "width" => 30, "height" => 20, "alt" => "Chinese"),
325 # the following translations have not been written yet
326 "it" => array ("src" => "flag/it.gif", "width" => 30, "height" => 20, "alt" => "Italian"),
327 - "pl" => array ("src" => "flag/pl.gif", "width" => 30, "height" => 20, "alt" => "Polish"),
330 echo '<?xml version="1.0" encoding="', $encoding, '" ?>', "\n";