From b61261dfedad9eff158d6e40ab0512553da6847a Mon Sep 17 00:00:00 2001
From: Julian Smart <julian@anthemion.co.uk>
Date: Thu, 16 Jun 2005 17:57:23 +0000
Subject: [PATCH] Applied patch [ 1217859 ] Swedish translation for the
 internat sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 build/bakefiles/make_dist.mk    |   3 +
 distrib/msw/generic.rsp         |   6 +-
 samples/internat/internat.bkl   |   1 +
 samples/internat/internat.cpp   |   2 +
 samples/internat/sv/internat.mo | Bin 0 -> 2624 bytes
 samples/internat/sv/internat.po | 153 ++++++++++++++++++++++++++++++++
 6 files changed, 163 insertions(+), 2 deletions(-)
 create mode 100644 samples/internat/sv/internat.mo
 create mode 100644 samples/internat/sv/internat.po

diff --git a/build/bakefiles/make_dist.mk b/build/bakefiles/make_dist.mk
index 8f690116bf..88f3caf016 100644
--- a/build/bakefiles/make_dist.mk
+++ b/build/bakefiles/make_dist.mk
@@ -629,6 +629,7 @@ SAMPLES_DIST: ALL_GUI_DIST
 	mkdir $(DISTDIR)/samples/internat/ka
 	mkdir $(DISTDIR)/samples/internat/pl
 	mkdir $(DISTDIR)/samples/internat/ru
+	mkdir $(DISTDIR)/samples/internat/sv
 	cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
 	cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
 	cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
@@ -642,6 +643,7 @@ SAMPLES_DIST: ALL_GUI_DIST
 	cp $(SAMPDIR)/internat/ka/*.mo $(DISTDIR)/samples/internat/ka
 	cp $(SAMPDIR)/internat/pl/*.mo $(DISTDIR)/samples/internat/pl
 	cp $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/ru
+	cp $(SAMPDIR)/internat/sv/*.mo $(DISTDIR)/samples/internat/sv
 	cp $(SAMPDIR)/internat/bg/*.po $(DISTDIR)/samples/internat/bg
 	cp $(SAMPDIR)/internat/cs/*.po $(DISTDIR)/samples/internat/cs
 	cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
@@ -650,6 +652,7 @@ SAMPLES_DIST: ALL_GUI_DIST
 	cp $(SAMPDIR)/internat/ka/*.po $(DISTDIR)/samples/internat/ka
 	cp $(SAMPDIR)/internat/pl/*.po $(DISTDIR)/samples/internat/pl
 	cp $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/ru
+	cp $(SAMPDIR)/internat/sv/*.po $(DISTDIR)/samples/internat/sv
 
 	mkdir $(DISTDIR)/samples/ipc
 	cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp
index 2bb312a4db..490bcfa8c6 100644
--- a/distrib/msw/generic.rsp
+++ b/distrib/msw/generic.rsp
@@ -708,14 +708,16 @@ samples/internat/fr/*.mo
 samples/internat/fr/*.po
 samples/internat/de/*.mo
 samples/internat/de/*.po
-samples/internat/ru/*.mo
-samples/internat/ru/*.po
 samples/internat/ja/*.mo
 samples/internat/ja/*.po
 samples/internat/ka/*.mo
 samples/internat/ka/*.po
 samples/internat/pl/*.mo
 samples/internat/pl/*.po
+samples/internat/ru/*.mo
+samples/internat/ru/*.po
+samples/internat/sv/*.mo
+samples/internat/sv/*.po
 samples/internat/*.bkl
 
 samples/ipc/*.cpp
diff --git a/samples/internat/internat.bkl b/samples/internat/internat.bkl
index a81f9c6680..d9740d370c 100644
--- a/samples/internat/internat.bkl
+++ b/samples/internat/internat.bkl
@@ -24,5 +24,6 @@
     <wx-data id="ka" template="catalog"/>
     <wx-data id="pl" template="catalog"/>
     <wx-data id="ru" template="catalog"/>
+    <wx-data id="sv" template="catalog"/>
 
 </makefile>
diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp
index 7644f7fb77..8498c69753 100644
--- a/samples/internat/internat.cpp
+++ b/samples/internat/internat.cpp
@@ -130,6 +130,7 @@ bool MyApp::OnInit()
         wxLANGUAGE_BULGARIAN,
         wxLANGUAGE_CZECH,
         wxLANGUAGE_POLISH,
+        wxLANGUAGE_SWEDISH,
 #if wxUSE_UNICODE
         wxLANGUAGE_JAPANESE,
         wxLANGUAGE_GEORGIAN,
@@ -151,6 +152,7 @@ bool MyApp::OnInit()
             _T("Bulgarian"),
             _T("Czech"),
             _T("Polish"),
+            _T("Swedish"),
 #if wxUSE_UNICODE
             _T("Japanese"),
             _T("Georgian"),
diff --git a/samples/internat/sv/internat.mo b/samples/internat/sv/internat.mo
new file mode 100644
index 0000000000000000000000000000000000000000..9b2fe705a18847dcba18ab6faa7b21dd1fdc3e95
GIT binary patch
literal 2624
zcmb`IOK=oL7{^-$AL|Pd@riy35(qkLb_1Af2qqy31c9WI6~zm7c6x_lXL`o&p3Uyb
z^1?+=zN++Mm4yc{7FJmtEsJ>Y=*5E`ymIo$S^wYcY!WDngJoCE{APOk@xA&#f9>4%
zxj=gf*9*9I-6O;>_{hDup<M-cfIomc!RsK8{T+M=ya{dx{{ea2_WLjw+zoR7Uhpw+
z7~Bnxfk(i_;`?Qg*ZmkA2fqfN2mb(%fj7Z7z(d=FcoB5q{otqIQ{Y$N)8JL`W$@SH
z{crFf-nYXD{yqXe3Z4X?1J8lH&ie&B1wR0PMhq^4?9Yh@diK2ovfnL`=Y3T06L1&a
zzXTr#zXvf@`~*G>{sOY!zk%%E4e&v505`V(AUFk1fdqaCz7Bo^&VYY{d%!&iHXg+U
z$otKLyzY5$FPMUC-)CSI{1JQxyaBRZqSRYw2gvr73mz(11L1bw*lzZb+Y`7rKTqP~
zd7J}o2yY%&wvE^4y}7}?+%L`{H<U#lN3IFBha20^x!}e%hZKuvaj`$#U~=BrU(OZR
z4>y=7#88DU92lkpfpSiD+^`s`(uK3!qc^)oX{}RVo<6&Bdb&QhW%LD|Bq^p$uO^u*
zm&;;kK8%zYT1=Iu)g;I)HS><8NOnn5AY**3E9*o)g%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?nvW&6p2}B7suF%!o5gmU9z2&JNc`6GhT;VbD)gS+sH~gJL1MDHj!V
mYjB?(6dVME2f~FC@N?zrM?mRZy0%0_a2;0ido{n0ihlupO25GX

literal 0
HcmV?d00001

diff --git a/samples/internat/sv/internat.po b/samples/internat/sv/internat.po
new file mode 100644
index 0000000000..cfc8e4d90b
--- /dev/null
+++ b/samples/internat/sv/internat.po
@@ -0,0 +1,153 @@
+# Translation for the wxWidgets internat sample.
+# Copyright © 2005 wxWidgets translation team
+
+msgid ""
+msgstr ""
+"Project-Id-Version: wxWidgets 2.6 internat sample\n"
+"Report-Msgid-Bugs-To: wxDevelopers <wx-dev@lists.wxwidgets.org>\n"
+"POT-Creation-Date: 2005-06-02 13:21+0200\n"
+"PO-Revision-Date: 2005-06-02 13:45+0200\n"
+"Last-Translator: Jonas Rydberg <jonas@arbor.se>\n"
+"Language-Team: wxWidgets translators <wx-translators@lists.wxwidgets.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+#: ../internat.cpp:210
+msgid "&About..."
+msgstr "&Om..."
+
+#: ../internat.cpp:212
+msgid "E&xit"
+msgstr "&Avsluta"
+
+#: ../internat.cpp:215
+msgid "&Open bogus file"
+msgstr "&Öppna fingerad fil"
+
+#: ../internat.cpp:216
+msgid "&Play a game"
+msgstr "&Spela ett spel"
+
+#: ../internat.cpp:218
+msgid "&1 _() (gettext)"
+msgstr "&1 _() (gettext)"
+
+#: ../internat.cpp:219
+msgid "&2 _N() (ngettext)"
+msgstr "&2 _N() (ngettext)"
+
+#: ../internat.cpp:220
+msgid "&3 wxTRANSLATE() (gettext_noop)"
+msgstr "&3 wxTRANSLATE() (gettext_noop)"
+
+#: ../internat.cpp:223
+msgid "&File"
+msgstr "&Arkiv"
+
+#: ../internat.cpp:224
+msgid "&Test"
+msgstr "&Test"
+
+#: ../internat.cpp:242
+msgid "International wxWidgets App"
+msgstr "Internationellt wxWidgetsprogram"
+
+#: ../internat.cpp:260
+#, c-format
+msgid ""
+"Language: %s\n"
+"System locale name:\n"
+"%s\n"
+"Canonical locale name: %s\n"
+msgstr ""
+"Språk: %s\n"
+"Systemlokalnamn:\n"
+"%s\n"
+"Kanoniskt lokalnamn: %s\n"
+
+#: ../internat.cpp:265
+msgid ""
+"I18n sample\n"
+"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
+msgstr ""
+"I18n exempelprogram\n"
+"© 1998, 1999 Vadim Zeitlin and Julian Smart"
+
+#: ../internat.cpp:268
+msgid "About Internat"
+msgstr "Om Internat"
+
+#: ../internat.cpp:278
+msgid "Enter your number:"
+msgstr "Skriv in ditt nummer:"
+
+#: ../internat.cpp:279
+msgid "Try to guess my number!"
+msgstr "Försök att gissa mitt nummer!"
+
+#: ../internat.cpp:293
+msgid "You've probably entered an invalid number."
+msgstr "Du har antagligen skrivit in ett felaktigt nummer."
+
+#. string must be split in two -- otherwise the translation would't be
+#. found
+#: ../internat.cpp:307
+msgid "Congratulations! you've won. Here is the magic phrase:"
+msgstr "Gratulerar! Du har vunnit. Här är den magiska meningen:"
+
+#: ../internat.cpp:308
+#, c-format
+msgid "cannot create fifo `%s'"
+msgstr "kan inte skapa fifo \"%s\""
+
+#:
+msgid "Bad luck! try again..."
+msgstr "Otur! Försök igen..."
+
+#: ../internat.cpp:319
+msgid "Result"
+msgstr "Resultat"
+
+#: ../internat.cpp:331
+msgid "Testing _() (gettext)"
+msgstr "Testar _() (gettext)"
+
+#: ../internat.cpp:332
+msgid "Please enter text to translate"
+msgstr "Skriv in text att översätta"
+
+#: ../internat.cpp:333
+msgid "default value"
+msgstr "förvalt värde"
+
+#: ../internat.cpp:346
+msgid "Testing _N() (ngettext)"
+msgstr "Testar _N() (ngettext)"
+
+#: ../internat.cpp:348
+msgid "Please enter range for plural forms of \"n files deleted\" phrase"
+msgstr "Skriv in urval för pluralformer för meningen \"n filer borttagna\""
+
+#: ../internat.cpp:359
+msgid "file deleted"
+msgid_plural "files deleted"
+msgstr[0] "fil borttagen"
+msgstr[1] "filer borttagna"
+
+#: ../internat.cpp:370
+msgid "line 1"
+msgstr "rad 1"
+
+#: ../internat.cpp:371
+msgid "line 2"
+msgstr "rad 2"
+
+#: ../internat.cpp:372
+msgid "line 3"
+msgstr "rad 3"
+
+#: ../internat.cpp:374
+msgid "Testing wxTRANSLATE() (gettext_noop)"
+msgstr "Testar wxTRANSLATE() (gettext_noop)"
-- 
2.45.2