Ticket #6875: mythbrowser-translations-090822.diff

File mythbrowser-translations-090822.diff, 19.0 KB (added by Stefan Asserhäll <stefan.asserhall@…>, 17 years ago)

Additional patch for mythbrowser with some strings I missed before

Line 
1Index: mythplugins/mythbrowser/i18n/translate.pro
2===================================================================
3--- mythplugins/mythbrowser/i18n/translate.pro (revision 21427)
4+++ mythplugins/mythbrowser/i18n/translate.pro (working copy)
5@@ -1,6 +1,8 @@
6 SOURCES += ../mythbrowser/webpage.cpp
7 SOURCES += ../mythbrowser/mythbrowser.cpp
8-SOURCES += ../mythbookmarkmanager/bookmarkmanager.cpp
9+SOURCES += ../mythbrowser/bookmarkmanager.cpp
10+SOURCES += ../mythbrowser/bookmarkeditor.cpp
11+SOURCES += ./themestrings.h
12
13 TRANSLATIONS = mythbrowser_de.ts mythbrowser_sl.ts mythbrowser_fr.ts
14 TRANSLATIONS += mythbrowser_sv.ts mythbrowser_nl.ts mythbrowser_nb.ts
15Index: mythplugins/mythbrowser/i18n/mythbrowser_sv.ts
16===================================================================
17--- mythplugins/mythbrowser/i18n/mythbrowser_sv.ts (revision 21427)
18+++ mythplugins/mythbrowser/i18n/mythbrowser_sv.ts (working copy)
19@@ -1,346 +1,224 @@
20 <?xml version="1.0" encoding="utf-8"?>
21-<!DOCTYPE TS><TS version="1.1">
22+<!DOCTYPE TS>
23+<TS version="2.0" language="sv_SE">
24 <context>
25+ <name>BookmarkEditor</name>
26+ <message>
27+ <source>Edit Bookmark Details</source>
28+ <translation>Redigera bokmÀrkesinformation</translation>
29+ </message>
30+ <message>
31+ <source>Enter Bookmark Details</source>
32+ <translation>Ange bokmÀrkesinformation</translation>
33+ </message>
34+ <message>
35+ <source>Ok</source>
36+ <translation>Ok</translation>
37+ </message>
38+ <message>
39+ <source>Cancel</source>
40+ <translation>Avbryt</translation>
41+ </message>
42+ <message>
43+ <source>Find...</source>
44+ <translation>Sök...</translation>
45+ </message>
46+ <message>
47+ <source>Select a category</source>
48+ <translation>VÀlj en kategori</translation>
49+ </message>
50+</context>
51+<context>
52 <name>BookmarkManager</name>
53 <message>
54- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="163"/>
55 <source>No bookmarks defined.
56
57 Use the &apos;Add Bookmark&apos; menu option to add new bookmarks</source>
58 <translation>Inga bokmÀrken definierade.
59
60-AnvÀnd &apos;LÀgg till bokmÀrke&apos; meny val för att lÀgga till nya bokmÀrken</translation>
61+AnvÀnd menyalternativet &apos;LÀgg till bokmÀrke&apos; för att lÀgga till nya bokmÀrken</translation>
62 </message>
63 <message>
64- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="277"/>
65 <source>Actions</source>
66- <translation>Å
67tgÀrd</translation>
68+ <translation>Å
69tgÀrder</translation>
70 </message>
71 <message>
72- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="292"/>
73 <source>Add Bookmark</source>
74 <translation>LÀgg till bokmÀrke</translation>
75 </message>
76 <message>
77- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="296"/>
78 <source>Edit Bookmark</source>
79 <translation>Redigera bokmÀrke</translation>
80 </message>
81 <message>
82- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="297"/>
83 <source>Delete Bookmark</source>
84- <translation>Radera bokmÀrke</translation>
85+ <translation>Ta bort bokmÀrke</translation>
86 </message>
87 <message>
88- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="298"/>
89- <source>Show bookmark</source>
90+ <source>Show Bookmark</source>
91 <translation>Visa bokmÀrke</translation>
92 </message>
93 <message>
94- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="303"/>
95 <source>Delete Marked</source>
96- <translation>Radera markerade</translation>
97+ <translation>Ta bort markerade</translation>
98 </message>
99 <message>
100- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="309"/>
101 <source>Show Marked</source>
102 <translation>Visa markerade</translation>
103 </message>
104 <message>
105- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="311"/>
106 <source>Clear Marked</source>
107 <translation>Rensa markerade</translation>
108 </message>
109 <message>
110- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="314"/>
111 <source>Cancel</source>
112 <translation>Avbryt</translation>
113 </message>
114 <message>
115- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="472"/>
116 <source>Are you sure you want to delete the selected bookmark</source>
117- <translation>SÀker på att du vill radera valt bokmÀrke</translation>
118+ <translation>Är du sÀker pÃ¥ att du vill ta bort det valda bokmÀrket</translation>
119 </message>
120 <message>
121- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="516"/>
122 <source>Are you sure you want to delete the marked bookmarks</source>
123- <translation>SÀker på att du vill radera markerade bokmÀrken</translation>
124+ <translation>Är du sÀker pÃ¥ att du vill ta bort de markerade bokmÀrkena</translation>
125 </message>
126 </context>
127 <context>
128- <name>Bookmarks</name>
129- <message>
130- <location filename="" line="0"/>
131- <source>MythBrowser: Select group or single site to view</source>
132- <translation type="obsolete">MythBrowser: VÀlj grupp eller enstaka sida att se</translation>
133- </message>
134-</context>
135-<context>
136- <name>BookmarksConfig</name>
137- <message>
138- <location filename="" line="0"/>
139- <source>MythBrowser Bookmarks Settings</source>
140- <translation type="obsolete">MythBrowser bokmÀrkesinstÀllningar</translation>
141- </message>
142- <message>
143- <location filename="" line="0"/>
144- <source>Press the &apos;New Bookmark&apos; button to add a new site/group.
145-Pressing SPACE/Enter on a selected entry removes it from the listview.</source>
146- <translation type="obsolete">Tryck på knappen &apos;Nytt bokmÀrke&apos; för att lÀgga till en ny sida/grupp.
147-Ett tryck på Mellanslag/Enter på en markerad post tar bort den från listvisaren.</translation>
148- </message>
149- <message>
150- <location filename="" line="0"/>
151- <source>Zoom [%]:</source>
152- <translation type="obsolete">Zoom [%]:</translation>
153- </message>
154- <message>
155- <location filename="" line="0"/>
156- <source>Browser:</source>
157- <translation type="obsolete">WebblÀsare:</translation>
158- </message>
159- <message>
160- <location filename="" line="0"/>
161- <source>Hide Scrollbars</source>
162- <translation type="obsolete">Dölj rullningslister</translation>
163- </message>
164- <message>
165- <location filename="" line="0"/>
166- <source>Scroll Page</source>
167- <translation type="obsolete">Rulla sida</translation>
168- </message>
169- <message>
170- <location filename="" line="0"/>
171- <source>Scroll Speed:</source>
172- <translation type="obsolete">Rullningshastighet:</translation>
173- </message>
174- <message>
175- <location filename="" line="0"/>
176- <source>&amp;New Bookmark</source>
177- <translation type="obsolete">&amp;Nytt bokmÀrke</translation>
178- </message>
179- <message>
180- <location filename="" line="0"/>
181- <source>Add a new Website</source>
182- <translation type="obsolete">LÀgg till en ny webbsida</translation>
183- </message>
184- <message>
185- <location filename="" line="0"/>
186- <source>&amp;Finish</source>
187- <translation type="obsolete">&amp;Avsluta</translation>
188- </message>
189-</context>
190-<context>
191 <name>BrowserConfig</name>
192 <message>
193- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="45"/>
194 <source>MythBrowser Settings</source>
195- <translation>MythWebblÀsaren instÀllningar</translation>
196+ <translation>InstÀllning av Mythbrowser</translation>
197 </message>
198 <message>
199- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="66"/>
200 <source>Ok</source>
201 <translation>Ok</translation>
202 </message>
203 <message>
204- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="67"/>
205 <source>Cancel</source>
206 <translation>Avbryt</translation>
207 </message>
208 <message>
209- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="119"/>
210- <source>This is the command that will be used to show the web browser. The default is to use MythBrowser.</source>
211- <translation>DethÀr Àr kommandot som anvÀnds för att visa webblÀsaren. Som förinstÀllt anvÀnds MythWebblÀsaren.</translation>
212+ <source>This is the command that will be used to show the web browser. Use &apos;Internal&apos; to use the built in web browser&apos;. %ZOOM% and %URL% will be replaced with the zoom level and URL list.</source>
213+ <translation>Detta Àr kommandot som kommer att anvÀndas för att visa webblÀsaren. AnvÀnd &apos;Internal&apos; för att anvÀnda den inbyggda webblÀsaren. %ZOOM% och %URL% ersÀtts av zoomnivån och webbadresslistan.</translation>
214 </message>
215 <message>
216- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="123"/>
217- <source>This is the default text size that will be used. Valid values are from 0.3 to 5.0 with 1.0 being normal size less than 1 is smaller and greater than 1 is larger than normal size.</source>
218- <translation>DethÀr Àr förinstÀllda textstorlek som anvÀnds. Giltiga vÀrden Àr från 0.3 till 5.0 med 1.0 som normal storlek mindre Àn 1 Àr mindre och högre Àn 1 Àr större Àn normal storlek.</translation>
219+ <source>This is the default text size that will be used. Valid values for the Internal browser are from 0.3 to 5.0 with 1.0 being normal size less than 1 is smaller and greater than 1 is larger than normal size.</source>
220+ <translation>Detta Àr den förvalda textstorleken som kommer att anvÀndas. Giltiga vÀrden för den interna webblÀsaren Àr från 0,3 till 5,0, dÀr 1,0 Àr normal storlek. Mindre Àn 1 Àr mindre, och större Àn 1 Àr större Àn normal storlek.</translation>
221 </message>
222 <message>
223- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="125"/>
224 <source>Exit without saving settings</source>
225- <translation>Avslut utan att spara instÀllningar</translation>
226+ <translation>Avsluta utan att spara instÀllningarna</translation>
227 </message>
228 <message>
229- <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="127"/>
230 <source>Save settings and Exit</source>
231- <translation>Spara instÀllningar och avslut</translation>
232+ <translation>Spara instÀllningar och avsluta</translation>
233 </message>
234 </context>
235 <context>
236 <name>MythBrowser</name>
237 <message>
238- <location filename="../mythbrowser/mythbrowser.cpp" line="376"/>
239 <source>Enter URL</source>
240- <translation>Skriv in adress</translation>
241+ <translation>Skriv in webbadress</translation>
242 </message>
243 <message>
244- <location filename="../mythbrowser/mythbrowser.cpp" line="260"/>
245 <source>Loading...</source>
246 <translation>Laddar...</translation>
247 </message>
248 <message>
249- <location filename="../mythbrowser/mythbrowser.cpp" line="363"/>
250 <source>Actions</source>
251- <translation>Å
252tgÀrd</translation>
253+ <translation>Å
254tgÀrder</translation>
255 </message>
256 <message>
257- <location filename="../mythbrowser/mythbrowser.cpp" line="379"/>
258 <source>Back</source>
259 <translation>Bakåt</translation>
260 </message>
261 <message>
262- <location filename="../mythbrowser/mythbrowser.cpp" line="382"/>
263 <source>Forward</source>
264 <translation>Framåt</translation>
265 </message>
266 <message>
267- <location filename="../mythbrowser/mythbrowser.cpp" line="384"/>
268 <source>Zoom In</source>
269 <translation>Zooma in</translation>
270 </message>
271 <message>
272- <location filename="../mythbrowser/mythbrowser.cpp" line="385"/>
273 <source>Zoom Out</source>
274 <translation>Zooma ut</translation>
275 </message>
276 <message>
277- <location filename="../mythbrowser/mythbrowser.cpp" line="386"/>
278 <source>New Tab</source>
279- <translation>Ny tab</translation>
280+ <translation>Ny flik</translation>
281 </message>
282 <message>
283- <location filename="../mythbrowser/mythbrowser.cpp" line="389"/>
284 <source>Delete Tab</source>
285- <translation>Radera tab</translation>
286+ <translation>Ta bort flik</translation>
287 </message>
288 <message>
289- <location filename="../mythbrowser/mythbrowser.cpp" line="394"/>
290 <source>Cancel</source>
291 <translation>Avbryt</translation>
292 </message>
293 <message>
294- <location filename="../mythbrowser/mythbrowser.cpp" line="391"/>
295- <source>Edit Bookmarks</source>
296- <translation>Redigera bokmÀrken</translation>
297- </message>
298- <message>
299- <location filename="../mythbrowser/mythbrowser.cpp" line="392"/>
300 <source>Add Bookmark</source>
301 <translation>LÀgg till bokmÀrke</translation>
302 </message>
303 </context>
304 <context>
305- <name>PopupBox</name>
306+ <name>ThemeUI</name>
307 <message>
308- <location filename="" line="0"/>
309- <source>Add New Website</source>
310- <translation type="obsolete">LÀgg till ny webbsida</translation>
311+ <source>Bookmark Manager</source>
312+ <translation>BokmÀrkeshanterare</translation>
313 </message>
314 <message>
315- <location filename="" line="0"/>
316- <source>Group:</source>
317- <translation type="obsolete">Grupp:</translation>
318+ <source>Category</source>
319+ <translation>Kategori</translation>
320 </message>
321 <message>
322- <location filename="" line="0"/>
323- <source>Description:</source>
324- <translation type="obsolete">Beskrivning:</translation>
325+ <source>[x]</source>
326+ <translation>[x]</translation>
327 </message>
328 <message>
329- <location filename="" line="0"/>
330- <source>URL:</source>
331- <translation type="obsolete">URL:</translation>
332+ <source>Name</source>
333+ <translation>Namn</translation>
334 </message>
335 <message>
336- <location filename="" line="0"/>
337- <source>&amp;Ok</source>
338- <translation type="obsolete">&amp;Ok</translation>
339+ <source>URL</source>
340+ <translation>Adress</translation>
341 </message>
342-</context>
343-<context>
344- <name>TabView</name>
345 <message>
346- <location filename="" line="0"/>
347- <source>MythBrowser Menu</source>
348- <translation type="obsolete">MythBrowser-meny</translation>
349+ <source>Category:</source>
350+ <translation>Kategori:</translation>
351 </message>
352 <message>
353- <location filename="" line="0"/>
354- <source>Save Link in Bookmarks</source>
355- <translation type="obsolete">Spara lÀnk i bokmÀrken</translation>
356+ <source>Find...</source>
357+ <translation>Sök...</translation>
358 </message>
359 <message>
360- <location filename="" line="0"/>
361- <source>Enter URL</source>
362- <translation type="obsolete">Skriv in adress</translation>
363+ <source>Name:</source>
364+ <translation>Namn:</translation>
365 </message>
366 <message>
367- <location filename="" line="0"/>
368- <source>OK</source>
369- <translation type="obsolete">OK</translation>
370+ <source>URL:</source>
371+ <translation>Adress:</translation>
372 </message>
373 <message>
374- <location filename="" line="0"/>
375 <source>Cancel</source>
376- <translation type="obsolete">Avbryt</translation>
377+ <translation>Avbryt</translation>
378 </message>
379 <message>
380- <location filename="" line="0"/>
381- <source>Back</source>
382- <translation type="obsolete">Bakåt</translation>
383+ <source>Ok</source>
384+ <translation>Ok</translation>
385 </message>
386 <message>
387- <location filename="" line="0"/>
388- <source>Next Tab</source>
389- <translation type="obsolete">NÀsta flik</translation>
390+ <source>Browser Command:</source>
391+ <translation>WebblÀsarkommando:</translation>
392 </message>
393 <message>
394- <location filename="" line="0"/>
395- <source>Prev Tab</source>
396- <translation type="obsolete">Föregående flik</translation>
397+ <source>Text Size:</source>
398+ <translation>Textstorlek:</translation>
399 </message>
400- <message>
401- <location filename="" line="0"/>
402- <source>Remove Tab</source>
403- <translation type="obsolete">Ta bort flik</translation>
404- </message>
405- <message>
406- <location filename="" line="0"/>
407- <source>Zoom Out</source>
408- <translation type="obsolete">Zooma ut</translation>
409- </message>
410- <message>
411- <location filename="" line="0"/>
412- <source>Zoom In</source>
413- <translation type="obsolete">Zooma in</translation>
414- </message>
415- <message>
416- <location filename="" line="0"/>
417- <source>Add New Bookmark</source>
418- <translation type="obsolete">LÀgg till nytt bokmÀrke</translation>
419- </message>
420- <message>
421- <location filename="" line="0"/>
422- <source>Group:</source>
423- <translation type="obsolete">Grupp:</translation>
424- </message>
425- <message>
426- <location filename="" line="0"/>
427- <source>Description:</source>
428- <translation type="obsolete">Beskrivning:</translation>
429- </message>
430- <message>
431- <location filename="" line="0"/>
432- <source>URL:</source>
433- <translation type="obsolete">URL:</translation>
434- </message>
435 </context>
436 <context>
437 <name>WebPage</name>
438 <message>
439- <location filename="../mythbrowser/webpage.cpp" line="129"/>
440 <source>Loading...</source>
441 <translation>Laddar...</translation>
442 </message>
443Index: mythplugins/mythbrowser/i18n/themestrings.h
444===================================================================
445--- mythplugins/mythbrowser/i18n/themestrings.h (revision 0)
446+++ mythplugins/mythbrowser/i18n/themestrings.h (revision 0)
447@@ -0,0 +1,32 @@
448+void strings_null() {
449+ ThemeUI::tr("Bookmark Manager");
450+ ThemeUI::tr("Category");
451+ ThemeUI::tr("[x]");
452+ ThemeUI::tr("Name");
453+ ThemeUI::tr("URL");
454+ ThemeUI::tr("Category:");
455+ ThemeUI::tr("Find...");
456+ ThemeUI::tr("Name:");
457+ ThemeUI::tr("URL:");
458+ ThemeUI::tr("Cancel");
459+ ThemeUI::tr("Ok");
460+ ThemeUI::tr("Browser Command:");
461+ ThemeUI::tr("Text Size:");
462+ ThemeUI::tr("Cancel");
463+ ThemeUI::tr("Ok");
464+ ThemeUI::tr("Bookmark Manager");
465+ ThemeUI::tr("Category");
466+ ThemeUI::tr("[x]");
467+ ThemeUI::tr("Name");
468+ ThemeUI::tr("URL");
469+ ThemeUI::tr("Category:");
470+ ThemeUI::tr("Find...");
471+ ThemeUI::tr("Name:");
472+ ThemeUI::tr("URL:");
473+ ThemeUI::tr("Cancel");
474+ ThemeUI::tr("Ok");
475+ ThemeUI::tr("Browser Command:");
476+ ThemeUI::tr("Text Size:");
477+ ThemeUI::tr("Cancel");
478+ ThemeUI::tr("Ok");
479+}