OSDN Git Service

Italian translation added, thanks to Roberto <gulliver_69@libero.it>.
authorlordmulder <mulder2@gmx.de>
Sun, 9 Jan 2011 01:15:20 +0000 (02:15 +0100)
committerlordmulder <mulder2@gmx.de>
Sun, 9 Jan 2011 01:15:20 +0000 (02:15 +0100)
gui/MainWindow.ui
res/Icons.qrc
res/Localization.qrc
res/localization/LameXP_IT.qm
src/Config.h
src/Dialog_About.cpp
src/Dialog_MainWindow.cpp

index a0d66b7..6c3e2fa 100644 (file)
      </property>
      <property name="icon">
       <iconset resource="../res/Icons.qrc">
-       <normaloff>:/icons/font.png</normaloff>:/icons/font.png</iconset>
+       <normaloff>:/icons/user_comment.png</normaloff>:/icons/user_comment.png</iconset>
      </property>
      <addaction name="actionLoadTranslationFromFile"/>
     </widget>
   <include location="../res/Images.qrc"/>
   <include location="../res/Icons.qrc"/>
   <include location="../res/Images.qrc"/>
+  <include location="../res/Icons.qrc"/>
+  <include location="../res/Images.qrc"/>
  </resources>
  <connections>
   <connection>
index 7a3a9e7..d41a4f7 100644 (file)
@@ -72,6 +72,7 @@
     <file>icons/transmit_blue.png</file>
     <file>icons/user.png</file>
     <file>icons/user_suit.png</file>
+    <file>icons/user_comment.png</file>
     <file>icons/wma.png</file>
     <file>icons/world.png</file>
     <file>icons/wrench.png</file>
index 1ca64ef..fc2fb2d 100644 (file)
@@ -5,9 +5,7 @@
     <file>localization/LameXP_DE.qm.txt</file>
     <file>localization/LameXP_FR.qm</file>
     <file>localization/LameXP_FR.qm.txt</file>
-    <!--
-      <file>localization/LameXP_IT.qm</file>
-      <file>localization/LameXP_IT.qm.txt</file>
-    -->
+    <file>localization/LameXP_IT.qm</file>
+    <file>localization/LameXP_IT.qm.txt</file>
   </qresource>
 </RCC>
index f7a36ac..1b1e941 100644 (file)
Binary files a/res/localization/LameXP_IT.qm and b/res/localization/LameXP_IT.qm differ
index 2a7047c..a6d7c10 100644 (file)
@@ -25,7 +25,7 @@
 #define VER_LAMEXP_MAJOR                               4
 #define VER_LAMEXP_MINOR_HI                            0
 #define VER_LAMEXP_MINOR_LO                            0
-#define VER_LAMEXP_BUILD                               223
+#define VER_LAMEXP_BUILD                               224
 #define VER_LAMEXP_SUFFIX                              TechPreview
 
 /*
index d8960d6..763c7e7 100644 (file)
@@ -57,9 +57,10 @@ struct lamexp_contrib_t
 //Contributors
 static const struct lamexp_contrib_t g_lamexp_contributors[] =
 {
-       {"en", "Englisch",  "LoRd_MuldeR",         "MuldeR2@GMX.de"},
-       {"de", "Deutsch",   "LoRd_MuldeR",         "MuldeR2@GMX.de"},
-       {"fr", "Française", "Dodich Informatique", "Dodich@live.fr"},
+       {"en", "Englisch",  "LoRd_MuldeR",         "MuldeR2@GMX.de"       },
+       {"de", "Deutsch",   "LoRd_MuldeR",         "MuldeR2@GMX.de"       },
+       {"fr", "Française", "Dodich Informatique", "Dodich@live.fr"       },
+       {"it", "Italiano",  "Roberto",             "Gulliver_69@libero.it"},
        {NULL, NULL, NULL, NULL}
 };
 
index c5ee59c..ea0afd9 100644 (file)
@@ -253,7 +253,7 @@ MainWindow::MainWindow(FileListModel *fileListModel, AudioFileModel *metaInfo, S
        QStringList translations = lamexp_query_translations();
        while(!translations.isEmpty())
        {
-               QString langId = translations.takeLast();
+               QString langId = translations.takeFirst();
                QAction *currentLanguage = new QAction(this);
                currentLanguage->setData(langId);
                currentLanguage->setText(lamexp_translation_name(langId));
@@ -617,7 +617,7 @@ void MainWindow::windowShown(void)
        if(QDate::currentDate() >= lamexp_version_date().addYears(1))
        {
                qWarning("Binary is more than a year old, time to update!");
-               if(QMessageBox::warning(this, tr("Urgent Update"), tr("Your version of LameXP is more than a year old. Time for an update!"), tr("Check for Updates"), tr("Exit Program")) == 0)
+               if(QMessageBox::warning(this, tr("Urgent Update"), QString("<nobr>%1</nobr>").arg(tr("Your version of LameXP is more than a year old. Time for an update!")), tr("Check for Updates"), tr("Exit Program")) == 0)
                {
                        checkUpdatesActionActivated();
                }
@@ -632,7 +632,7 @@ void MainWindow::windowShown(void)
                QDate lastUpdateCheck = QDate::fromString(m_settings->autoUpdateLastCheck(), Qt::ISODate);
                if(!lastUpdateCheck.isValid() || QDate::currentDate() >= lastUpdateCheck.addDays(14))
                {
-                       if(QMessageBox::information(this, tr("Update Reminder"), (lastUpdateCheck.isValid() ? tr("Your last update check was more than 14 days ago. Check for updates now?") : tr("Your did not check for LameXP updates yet. Check for updates now?")), tr("Check for Updates"), tr("Postpone")) == 0)
+                       if(QMessageBox::information(this, tr("Update Reminder"), QString("<nobr>%1</nobr>").arg(lastUpdateCheck.isValid() ? tr("Your last update check was more than 14 days ago. Check for updates now?") : tr("Your did not check for LameXP updates yet. Check for updates now?")), tr("Check for Updates"), tr("Postpone")) == 0)
                        {
                                checkUpdatesActionActivated();
                        }