Added swedish translation (Fredrik Wendt)
authorChristophe Dumez <chris@chris-PC.(none)>
Thu, 15 Jul 2010 09:03:19 +0000 (11:03 +0200)
committerChristophe Dumez <chris@chris-PC.(none)>
Thu, 15 Jul 2010 09:03:19 +0000 (11:03 +0200)
AUTHORS
Changelog
TimedSilencer.pro
TimedSilencer.pro.user
lang/timedsilencer_sv.qm [new file with mode: 0644]
lang/timedsilencer_sv.ts [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
index 9def371..1962cf9 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -12,3 +12,4 @@ Translations authors:
   copyright:
   - Chinese (Simplified): GUO Yue (yue.guo0418@gmail.com)
   - French: Christophe Dumez (dchris@gmail.com)
+  - Swedish: Fredrik Wendt (fredrik@wendt.se)
index 7a93141..814f295 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,6 @@
+* Unreleased - Christophe Dumez <dchris@gmail.com> - v0.7
+    - Added Swedish translation (Fredrik Wendt)
+
 * Sun Jul 11 2010 - Christophe Dumez <dchris@gmail.com> - v0.6
     - Entirely new UI
     - Several profile switching events can now be set
index 485ad50..3fdd76e 100644 (file)
@@ -39,7 +39,8 @@ HEADERS  += mainwindow.h \
 # Translations
 TRANSLATIONS = $$LANG_PATH/timedsilencer_en.ts \
                $$LANG_PATH/timedsilencer_fr.ts \
-               $$LANG_PATH/timedsilencer_zh.ts
+               $$LANG_PATH/timedsilencer_zh.ts \
+               $$LANG_PATH/timedsilencer_sv.ts
 
 RESOURCES = lang.qrc
 
index c165f54..34b0ae9 100644 (file)
  <data>
   <variable>ProjectExplorer.Project.Target.0</variable>
   <valuemap type="QVariantMap">
-   <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Maemo</value>
-   <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Target.MaemoDeviceTarget</value>
-   <value key="ProjectExplorer.Target.ActiveBuildConfiguration" type="int">0</value>
-   <value key="ProjectExplorer.Target.ActiveRunConfiguration" type="int">0</value>
-   <valuemap key="ProjectExplorer.Target.BuildConfiguration.0" type="QVariantMap">
-    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.0" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">qmake</value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">QtProjectManager.QMakeBuildStep</value>
-     <valuelist key="QtProjectManager.QMakeBuildStep.QMakeArguments" type="QVariantList"/>
-    </valuemap>
-    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.1" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
-     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">false</value>
-     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList"/>
-     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
-    </valuemap>
-    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.2" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MaemoPackageCreationStep</value>
-     <valuelist key="Qt4ProjectManager.BuildStep.MaemoPackage.LocalFiles" type="QVariantList">
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/26x26/timedsilencer.png</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/48x48/timedsilencer.png</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/64x64/timedsilencer.png</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/xpm/timedsilencer.xpm</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/desktop/timedsilencer.desktop</value>
-     </valuelist>
-     <value key="Qt4ProjectManager.BuildStep.MaemoPackage.Modified" type="bool">false</value>
-     <value key="Qt4ProjectManager.BuildStep.MaemoPackage.RemoteExe" type="QString">/usr/bin/timedsilencer</value>
-     <valuelist key="Qt4ProjectManager.BuildStep.MaemoPackage.RemoteFiles" type="QVariantList">
-      <value type="QString">/usr/share/icons/hicolor/26x26/apps/timedsilencer.png</value>
-      <value type="QString">/usr/share/icons/hicolor/48x48/apps/timedsilencer.png</value>
-      <value type="QString">/usr/share/icons/hicolor/64x64/apps/timedsilencer.png</value>
-      <value type="QString">/usr/share/pixmaps/timedsilencer.xpm</value>
-      <value type="QString">/usr/share/applications/hildon/timedsilencer.desktop</value>
-     </valuelist>
-    </valuemap>
-    <value key="ProjectExplorer.BuildConfiguration.BuildStepsCount" type="int">3</value>
-    <valuemap key="ProjectExplorer.BuildConfiguration.CleanStep.0" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
-     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">true</value>
-     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList">
-      <value type="QString">clean</value>
-     </valuelist>
-     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
-    </valuemap>
-    <value key="ProjectExplorer.BuildConfiguration.CleanStepsCount" type="int">1</value>
-    <value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
-    <valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
-    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Debug</value>
-    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">2</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/chris/N900/TimedSilencer-build-maemo</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">7</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">9</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
-   </valuemap>
-   <valuemap key="ProjectExplorer.Target.BuildConfiguration.1" type="QVariantMap">
-    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.0" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">qmake</value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">QtProjectManager.QMakeBuildStep</value>
-     <valuelist key="QtProjectManager.QMakeBuildStep.QMakeArguments" type="QVariantList"/>
-    </valuemap>
-    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.1" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
-     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">false</value>
-     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList"/>
-     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
-    </valuemap>
-    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.2" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MaemoPackageCreationStep</value>
-     <valuelist key="Qt4ProjectManager.BuildStep.MaemoPackage.LocalFiles" type="QVariantList">
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/26x26/timedsilencer.png</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/48x48/timedsilencer.png</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/64x64/timedsilencer.png</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/ico/xpm/timedsilencer.xpm</value>
-      <value type="QString">/home/chris/N900/TimedSilencer/desktop/timedsilencer.desktop</value>
-     </valuelist>
-     <value key="Qt4ProjectManager.BuildStep.MaemoPackage.Modified" type="bool">false</value>
-     <value key="Qt4ProjectManager.BuildStep.MaemoPackage.RemoteExe" type="QString">/usr/bin/timedsilencer</value>
-     <valuelist key="Qt4ProjectManager.BuildStep.MaemoPackage.RemoteFiles" type="QVariantList">
-      <value type="QString">/usr/share/icons/hicolor/26x26/apps/timedsilencer.png</value>
-      <value type="QString">/usr/share/icons/hicolor/48x48/apps/timedsilencer.png</value>
-      <value type="QString">/usr/share/icons/hicolor/64x64/apps/timedsilencer.png</value>
-      <value type="QString">/usr/share/pixmaps/timedsilencer.xpm</value>
-      <value type="QString">/usr/share/applications/hildon/timedsilencer.desktop</value>
-     </valuelist>
-    </valuemap>
-    <value key="ProjectExplorer.BuildConfiguration.BuildStepsCount" type="int">3</value>
-    <valuemap key="ProjectExplorer.BuildConfiguration.CleanStep.0" type="QVariantMap">
-     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
-     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
-     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">true</value>
-     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList">
-      <value type="QString">clean</value>
-     </valuelist>
-     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
-    </valuemap>
-    <value key="ProjectExplorer.BuildConfiguration.CleanStepsCount" type="int">1</value>
-    <value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
-    <valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
-    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Release</value>
-    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">0</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/chris/N900/TimedSilencer-build-maemo</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">7</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">9</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
-   </valuemap>
-   <value key="ProjectExplorer.Target.BuildConfigurationCount" type="int">2</value>
-   <valuemap key="ProjectExplorer.Target.RunConfiguration.0" type="QVariantMap">
-    <value key=".ProFile" type="QString">TimedSilencer.pro</value>
-    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">N900</value>
-    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MaemoRunConfiguration</value>
-    <valuelist key="Qt4ProjectManager.MaemoRunConfiguration.Arguments" type="QVariantList"/>
-    <valuemap key="Qt4ProjectManager.MaemoRunConfiguration.DebuggingHelpersLastDeployed" type="QVariantMap">
-     <value key="192.168.1.4" type="QDateTime">2010-06-26T16:09:16</value>
-     <value key="localhost" type="QDateTime">2010-06-26T16:55:11</value>
-    </valuemap>
-    <value key="Qt4ProjectManager.MaemoRunConfiguration.DeviceId" type="qulonglong">16</value>
-    <valuemap key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployed" type="QVariantMap">
-     <value key="192.168.1.4" type="QDateTime">2010-06-29T00:09:20</value>
-     <value key="localhost" type="QDateTime">2010-07-10T23:49:14</value>
-    </valuemap>
-   </valuemap>
-   <value key="ProjectExplorer.Target.RunConfigurationCount" type="int">1</value>
-  </valuemap>
- </data>
- <data>
-  <variable>ProjectExplorer.Project.Target.1</variable>
-  <valuemap type="QVariantMap">
-   <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Qt Simulator</value>
-   <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Target.QtSimulatorTarget</value>
+   <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Desktop</value>
+   <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Target.DesktopTarget</value>
    <value key="ProjectExplorer.Target.ActiveBuildConfiguration" type="int">0</value>
    <value key="ProjectExplorer.Target.ActiveRunConfiguration" type="int">0</value>
    <valuemap key="ProjectExplorer.Target.BuildConfiguration.0" type="QVariantMap">
     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Debug</value>
     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">2</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/chris/N900/TimeSilencer-build-simulator</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">6</value>
+    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/chris/Devel/N900/TimedSilencer-build-desktop</value>
+    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">4</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">0</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
    </valuemap>
     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Release</value>
     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">0</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/chris/N900/TimedSilencer-build-simulator</value>
-    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">6</value>
+    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/chris/Devel/N900/TimedSilencer-build-desktop</value>
+    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">4</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">0</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
    </valuemap>
  </data>
  <data>
   <variable>ProjectExplorer.Project.TargetCount</variable>
-  <value type="int">2</value>
+  <value type="int">1</value>
  </data>
  <data>
   <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
diff --git a/lang/timedsilencer_sv.qm b/lang/timedsilencer_sv.qm
new file mode 100644 (file)
index 0000000..e50e30e
Binary files /dev/null and b/lang/timedsilencer_sv.qm differ
diff --git a/lang/timedsilencer_sv.ts b/lang/timedsilencer_sv.ts
new file mode 100644 (file)
index 0000000..bf7e8cf
--- /dev/null
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="sv">
+<context>
+    <name>MainWindow</name>
+    <message>
+        <location filename="../mainwindow.cpp" line="37"/>
+        <source>New profile switching event</source>
+        <translation>Ny regel för profilbyte</translation>
+    </message>
+</context>
+<context>
+    <name>NewAlarmDlg</name>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="43"/>
+        <source>Edit profile switching event</source>
+        <translation>Redigera regel för profilbyte</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="45"/>
+        <source>New profile switching event</source>
+        <translation>Ny regel för profilbyte</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="49"/>
+        <source>Use the silent profile</source>
+        <translation>Använd ljudlös profil</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="50"/>
+        <source>From</source>
+        <translation>Från</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="60"/>
+        <source>To</source>
+        <translation>Till</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="72"/>
+        <source>Repeat</source>
+        <translation>Upprepa</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="81"/>
+        <source>Activated</source>
+        <translation>Aktiverad</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="93"/>
+        <source>Delete</source>
+        <translation>Ta bort</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="100"/>
+        <source>Save</source>
+        <translation>Spara</translation>
+    </message>
+    <message>
+        <location filename="../newalarmdlg.cpp" line="176"/>
+        <source>This profile switching event already exists</source>
+        <translation>Denna regel för profilbyte finns redan</translation>
+    </message>
+</context>
+<context>
+    <name>ProfileEvent</name>
+    <message>
+        <location filename="../profileevent.h" line="109"/>
+        <source>Never</source>
+        <translation>Aldrig</translation>
+    </message>
+    <message>
+        <location filename="../profileevent.h" line="112"/>
+        <source>Every day</source>
+        <translation>Varje dag</translation>
+    </message>
+</context>
+<context>
+    <name>QMaemo5WeekDaysPickWidget</name>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="34"/>
+        <source>Repeat</source>
+        <translation>Upprepa</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="38"/>
+        <source>Never</source>
+        <translation>Aldrig</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="39"/>
+        <source>Monday</source>
+        <translation>Måndag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="40"/>
+        <source>Tuesday</source>
+        <translation>Tisdag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="41"/>
+        <source>Wednesday</source>
+        <translation>Onsdag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="42"/>
+        <source>Thursday</source>
+        <translation>Torsdag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="43"/>
+        <source>Friday</source>
+        <translation>Fredag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="44"/>
+        <source>Saturday</source>
+        <translation>Lördag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="45"/>
+        <source>Sunday</source>
+        <translation>Söndag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="46"/>
+        <source>Every day</source>
+        <translation>Varje dag</translation>
+    </message>
+    <message>
+        <location filename="../qmaemo5weekdayspickwidget.cpp" line="63"/>
+        <source>Done</source>
+        <translation>Klar</translation>
+    </message>
+</context>
+<context>
+    <name>SwitchingEventList</name>
+    <message>
+        <location filename="../switchingeventlist.cpp" line="36"/>
+        <source>Status</source>
+        <translation>Status</translation>
+    </message>
+    <message>
+        <location filename="../switchingeventlist.cpp" line="37"/>
+        <source>From</source>
+        <translation>Från</translation>
+    </message>
+    <message>
+        <location filename="../switchingeventlist.cpp" line="38"/>
+        <source>To</source>
+        <translation>Till</translation>
+    </message>
+    <message>
+        <location filename="../switchingeventlist.cpp" line="39"/>
+        <source>Repeat</source>
+        <translation>Upprepa</translation>
+    </message>
+</context>
+</TS>