Ticket #6875: mythbrowser-translations-090822.diff

File mythbrowser-translations-090822.diff, 19.0 KB (added by Stefan Asserhäll <stefan.asserhall@…>, 15 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>ÅtgÀrd</translation>
67+        <translation>ÅtgÀrder</translation>
68     </message>
69     <message>
70-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="292"/>
71         <source>Add Bookmark</source>
72         <translation>LÀgg till bokmÀrke</translation>
73     </message>
74     <message>
75-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="296"/>
76         <source>Edit Bookmark</source>
77         <translation>Redigera bokmÀrke</translation>
78     </message>
79     <message>
80-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="297"/>
81         <source>Delete Bookmark</source>
82-        <translation>Radera bokmÀrke</translation>
83+        <translation>Ta bort bokmÀrke</translation>
84     </message>
85     <message>
86-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="298"/>
87-        <source>Show bookmark</source>
88+        <source>Show Bookmark</source>
89         <translation>Visa bokmÀrke</translation>
90     </message>
91     <message>
92-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="303"/>
93         <source>Delete Marked</source>
94-        <translation>Radera markerade</translation>
95+        <translation>Ta bort markerade</translation>
96     </message>
97     <message>
98-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="309"/>
99         <source>Show Marked</source>
100         <translation>Visa markerade</translation>
101     </message>
102     <message>
103-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="311"/>
104         <source>Clear Marked</source>
105         <translation>Rensa markerade</translation>
106     </message>
107     <message>
108-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="314"/>
109         <source>Cancel</source>
110         <translation>Avbryt</translation>
111     </message>
112     <message>
113-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="472"/>
114         <source>Are you sure you want to delete the selected bookmark</source>
115-        <translation>SÀker pÃ¥ att du vill radera valt bokmÀrke</translation>
116+        <translation>Är du sÀker pÃ¥ att du vill ta bort det valda bokmÀrket</translation>
117     </message>
118     <message>
119-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="516"/>
120         <source>Are you sure you want to delete the marked bookmarks</source>
121-        <translation>SÀker pÃ¥ att du vill radera markerade bokmÀrken</translation>
122+        <translation>Är du sÀker pÃ¥ att du vill ta bort de markerade bokmÀrkena</translation>
123     </message>
124 </context>
125 <context>
126-    <name>Bookmarks</name>
127-    <message>
128-        <location filename="" line="0"/>
129-        <source>MythBrowser: Select group or single site to view</source>
130-        <translation type="obsolete">MythBrowser: VÀlj grupp eller enstaka sida att se</translation>
131-    </message>
132-</context>
133-<context>
134-    <name>BookmarksConfig</name>
135-    <message>
136-        <location filename="" line="0"/>
137-        <source>MythBrowser Bookmarks Settings</source>
138-        <translation type="obsolete">MythBrowser bokmÀrkesinstÀllningar</translation>
139-    </message>
140-    <message>
141-        <location filename="" line="0"/>
142-        <source>Press the &apos;New Bookmark&apos; button to add a new site/group.
143-Pressing SPACE/Enter on a selected entry removes it from the listview.</source>
144-        <translation type="obsolete">Tryck pÃ¥ knappen &apos;Nytt bokmÀrke&apos; för att lÀgga till en ny sida/grupp.
145-Ett tryck på Mellanslag/Enter på en markerad post tar bort den från listvisaren.</translation>
146-    </message>
147-    <message>
148-        <location filename="" line="0"/>
149-        <source>Zoom [%]:</source>
150-        <translation type="obsolete">Zoom [%]:</translation>
151-    </message>
152-    <message>
153-        <location filename="" line="0"/>
154-        <source>Browser:</source>
155-        <translation type="obsolete">WebblÀsare:</translation>
156-    </message>
157-    <message>
158-        <location filename="" line="0"/>
159-        <source>Hide Scrollbars</source>
160-        <translation type="obsolete">Dölj rullningslister</translation>
161-    </message>
162-    <message>
163-        <location filename="" line="0"/>
164-        <source>Scroll Page</source>
165-        <translation type="obsolete">Rulla sida</translation>
166-    </message>
167-    <message>
168-        <location filename="" line="0"/>
169-        <source>Scroll Speed:</source>
170-        <translation type="obsolete">Rullningshastighet:</translation>
171-    </message>
172-    <message>
173-        <location filename="" line="0"/>
174-        <source>&amp;New Bookmark</source>
175-        <translation type="obsolete">&amp;Nytt bokmÀrke</translation>
176-    </message>
177-    <message>
178-        <location filename="" line="0"/>
179-        <source>Add a new Website</source>
180-        <translation type="obsolete">LÀgg till en ny webbsida</translation>
181-    </message>
182-    <message>
183-        <location filename="" line="0"/>
184-        <source>&amp;Finish</source>
185-        <translation type="obsolete">&amp;Avsluta</translation>
186-    </message>
187-</context>
188-<context>
189     <name>BrowserConfig</name>
190     <message>
191-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="45"/>
192         <source>MythBrowser Settings</source>
193-        <translation>MythWebblÀsaren instÀllningar</translation>
194+        <translation>InstÀllning av Mythbrowser</translation>
195     </message>
196     <message>
197-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="66"/>
198         <source>Ok</source>
199         <translation>Ok</translation>
200     </message>
201     <message>
202-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="67"/>
203         <source>Cancel</source>
204         <translation>Avbryt</translation>
205     </message>
206     <message>
207-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="119"/>
208-        <source>This is the command that will be used to show the web browser. The default is to use MythBrowser.</source>
209-        <translation>DethÀr Àr kommandot som anvÀnds för att visa webblÀsaren. Som förinstÀllt anvÀnds MythWebblÀsaren.</translation>
210+        <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>
211+        <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>
212     </message>
213     <message>
214-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="123"/>
215-        <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>
216-        <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>
217+        <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>
218+        <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>
219     </message>
220     <message>
221-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="125"/>
222         <source>Exit without saving settings</source>
223-        <translation>Avslut utan att spara instÀllningar</translation>
224+        <translation>Avsluta utan att spara instÀllningarna</translation>
225     </message>
226     <message>
227-        <location filename="../mythbookmarkmanager/bookmarkmanager.cpp" line="127"/>
228         <source>Save settings and Exit</source>
229-        <translation>Spara instÀllningar och avslut</translation>
230+        <translation>Spara instÀllningar och avsluta</translation>
231     </message>
232 </context>
233 <context>
234     <name>MythBrowser</name>
235     <message>
236-        <location filename="../mythbrowser/mythbrowser.cpp" line="376"/>
237         <source>Enter URL</source>
238-        <translation>Skriv in adress</translation>
239+        <translation>Skriv in webbadress</translation>
240     </message>
241     <message>
242-        <location filename="../mythbrowser/mythbrowser.cpp" line="260"/>
243         <source>Loading...</source>
244         <translation>Laddar...</translation>
245     </message>
246     <message>
247-        <location filename="../mythbrowser/mythbrowser.cpp" line="363"/>
248         <source>Actions</source>
249-        <translation>ÅtgÀrd</translation>
250+        <translation>ÅtgÀrder</translation>
251     </message>
252     <message>
253-        <location filename="../mythbrowser/mythbrowser.cpp" line="379"/>
254         <source>Back</source>
255         <translation>BakÃ¥t</translation>
256     </message>
257     <message>
258-        <location filename="../mythbrowser/mythbrowser.cpp" line="382"/>
259         <source>Forward</source>
260         <translation>FramÃ¥t</translation>
261     </message>
262     <message>
263-        <location filename="../mythbrowser/mythbrowser.cpp" line="384"/>
264         <source>Zoom In</source>
265         <translation>Zooma in</translation>
266     </message>
267     <message>
268-        <location filename="../mythbrowser/mythbrowser.cpp" line="385"/>
269         <source>Zoom Out</source>
270         <translation>Zooma ut</translation>
271     </message>
272     <message>
273-        <location filename="../mythbrowser/mythbrowser.cpp" line="386"/>
274         <source>New Tab</source>
275-        <translation>Ny tab</translation>
276+        <translation>Ny flik</translation>
277     </message>
278     <message>
279-        <location filename="../mythbrowser/mythbrowser.cpp" line="389"/>
280         <source>Delete Tab</source>
281-        <translation>Radera tab</translation>
282+        <translation>Ta bort flik</translation>
283     </message>
284     <message>
285-        <location filename="../mythbrowser/mythbrowser.cpp" line="394"/>
286         <source>Cancel</source>
287         <translation>Avbryt</translation>
288     </message>
289     <message>
290-        <location filename="../mythbrowser/mythbrowser.cpp" line="391"/>
291-        <source>Edit Bookmarks</source>
292-        <translation>Redigera bokmÀrken</translation>
293-    </message>
294-    <message>
295-        <location filename="../mythbrowser/mythbrowser.cpp" line="392"/>
296         <source>Add Bookmark</source>
297         <translation>LÀgg till bokmÀrke</translation>
298     </message>
299 </context>
300 <context>
301-    <name>PopupBox</name>
302+    <name>ThemeUI</name>
303     <message>
304-        <location filename="" line="0"/>
305-        <source>Add New Website</source>
306-        <translation type="obsolete">LÀgg till ny webbsida</translation>
307+        <source>Bookmark Manager</source>
308+        <translation>BokmÀrkeshanterare</translation>
309     </message>
310     <message>
311-        <location filename="" line="0"/>
312-        <source>Group:</source>
313-        <translation type="obsolete">Grupp:</translation>
314+        <source>Category</source>
315+        <translation>Kategori</translation>
316     </message>
317     <message>
318-        <location filename="" line="0"/>
319-        <source>Description:</source>
320-        <translation type="obsolete">Beskrivning:</translation>
321+        <source>[x]</source>
322+        <translation>[x]</translation>
323     </message>
324     <message>
325-        <location filename="" line="0"/>
326-        <source>URL:</source>
327-        <translation type="obsolete">URL:</translation>
328+        <source>Name</source>
329+        <translation>Namn</translation>
330     </message>
331     <message>
332-        <location filename="" line="0"/>
333-        <source>&amp;Ok</source>
334-        <translation type="obsolete">&amp;Ok</translation>
335+        <source>URL</source>
336+        <translation>Adress</translation>
337     </message>
338-</context>
339-<context>
340-    <name>TabView</name>
341     <message>
342-        <location filename="" line="0"/>
343-        <source>MythBrowser Menu</source>
344-        <translation type="obsolete">MythBrowser-meny</translation>
345+        <source>Category:</source>
346+        <translation>Kategori:</translation>
347     </message>
348     <message>
349-        <location filename="" line="0"/>
350-        <source>Save Link in Bookmarks</source>
351-        <translation type="obsolete">Spara lÀnk i bokmÀrken</translation>
352+        <source>Find...</source>
353+        <translation>Sök...</translation>
354     </message>
355     <message>
356-        <location filename="" line="0"/>
357-        <source>Enter URL</source>
358-        <translation type="obsolete">Skriv in adress</translation>
359+        <source>Name:</source>
360+        <translation>Namn:</translation>
361     </message>
362     <message>
363-        <location filename="" line="0"/>
364-        <source>OK</source>
365-        <translation type="obsolete">OK</translation>
366+        <source>URL:</source>
367+        <translation>Adress:</translation>
368     </message>
369     <message>
370-        <location filename="" line="0"/>
371         <source>Cancel</source>
372-        <translation type="obsolete">Avbryt</translation>
373+        <translation>Avbryt</translation>
374     </message>
375     <message>
376-        <location filename="" line="0"/>
377-        <source>Back</source>
378-        <translation type="obsolete">BakÃ¥t</translation>
379+        <source>Ok</source>
380+        <translation>Ok</translation>
381     </message>
382     <message>
383-        <location filename="" line="0"/>
384-        <source>Next Tab</source>
385-        <translation type="obsolete">NÀsta flik</translation>
386+        <source>Browser Command:</source>
387+        <translation>WebblÀsarkommando:</translation>
388     </message>
389     <message>
390-        <location filename="" line="0"/>
391-        <source>Prev Tab</source>
392-        <translation type="obsolete">FöregÃ¥ende flik</translation>
393+        <source>Text Size:</source>
394+        <translation>Textstorlek:</translation>
395     </message>
396-    <message>
397-        <location filename="" line="0"/>
398-        <source>Remove Tab</source>
399-        <translation type="obsolete">Ta bort flik</translation>
400-    </message>
401-    <message>
402-        <location filename="" line="0"/>
403-        <source>Zoom Out</source>
404-        <translation type="obsolete">Zooma ut</translation>
405-    </message>
406-    <message>
407-        <location filename="" line="0"/>
408-        <source>Zoom In</source>
409-        <translation type="obsolete">Zooma in</translation>
410-    </message>
411-    <message>
412-        <location filename="" line="0"/>
413-        <source>Add New Bookmark</source>
414-        <translation type="obsolete">LÀgg till nytt bokmÀrke</translation>
415-    </message>
416-    <message>
417-        <location filename="" line="0"/>
418-        <source>Group:</source>
419-        <translation type="obsolete">Grupp:</translation>
420-    </message>
421-    <message>
422-        <location filename="" line="0"/>
423-        <source>Description:</source>
424-        <translation type="obsolete">Beskrivning:</translation>
425-    </message>
426-    <message>
427-        <location filename="" line="0"/>
428-        <source>URL:</source>
429-        <translation type="obsolete">URL:</translation>
430-    </message>
431 </context>
432 <context>
433     <name>WebPage</name>
434     <message>
435-        <location filename="../mythbrowser/webpage.cpp" line="129"/>
436         <source>Loading...</source>
437         <translation>Laddar...</translation>
438     </message>
439Index: mythplugins/mythbrowser/i18n/themestrings.h
440===================================================================
441--- mythplugins/mythbrowser/i18n/themestrings.h (revision 0)
442+++ mythplugins/mythbrowser/i18n/themestrings.h (revision 0)
443@@ -0,0 +1,32 @@
444+void strings_null() {
445+    ThemeUI::tr("Bookmark Manager");
446+    ThemeUI::tr("Category");
447+    ThemeUI::tr("[x]");
448+    ThemeUI::tr("Name");
449+    ThemeUI::tr("URL");
450+    ThemeUI::tr("Category:");
451+    ThemeUI::tr("Find...");
452+    ThemeUI::tr("Name:");
453+    ThemeUI::tr("URL:");
454+    ThemeUI::tr("Cancel");
455+    ThemeUI::tr("Ok");
456+    ThemeUI::tr("Browser Command:");
457+    ThemeUI::tr("Text Size:");
458+    ThemeUI::tr("Cancel");
459+    ThemeUI::tr("Ok");
460+    ThemeUI::tr("Bookmark Manager");
461+    ThemeUI::tr("Category");
462+    ThemeUI::tr("[x]");
463+    ThemeUI::tr("Name");
464+    ThemeUI::tr("URL");
465+    ThemeUI::tr("Category:");
466+    ThemeUI::tr("Find...");
467+    ThemeUI::tr("Name:");
468+    ThemeUI::tr("URL:");
469+    ThemeUI::tr("Cancel");
470+    ThemeUI::tr("Ok");
471+    ThemeUI::tr("Browser Command:");
472+    ThemeUI::tr("Text Size:");
473+    ThemeUI::tr("Cancel");
474+    ThemeUI::tr("Ok");
475+}