Italian translation added, thanks to Roberto <gulliver_69@libero.it>.

This commit is contained in:
LoRd_MuldeR 2011-01-09 02:15:20 +01:00
parent 3def085378
commit 6245687354
7 changed files with 14 additions and 12 deletions

View File

@ -1227,7 +1227,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../res/Icons.qrc"> <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> </property>
<addaction name="actionLoadTranslationFromFile"/> <addaction name="actionLoadTranslationFromFile"/>
</widget> </widget>
@ -1503,6 +1503,8 @@
<include location="../res/Images.qrc"/> <include location="../res/Images.qrc"/>
<include location="../res/Icons.qrc"/> <include location="../res/Icons.qrc"/>
<include location="../res/Images.qrc"/> <include location="../res/Images.qrc"/>
<include location="../res/Icons.qrc"/>
<include location="../res/Images.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -72,6 +72,7 @@
<file>icons/transmit_blue.png</file> <file>icons/transmit_blue.png</file>
<file>icons/user.png</file> <file>icons/user.png</file>
<file>icons/user_suit.png</file> <file>icons/user_suit.png</file>
<file>icons/user_comment.png</file>
<file>icons/wma.png</file> <file>icons/wma.png</file>
<file>icons/world.png</file> <file>icons/world.png</file>
<file>icons/wrench.png</file> <file>icons/wrench.png</file>

View File

@ -5,9 +5,7 @@
<file>localization/LameXP_DE.qm.txt</file> <file>localization/LameXP_DE.qm.txt</file>
<file>localization/LameXP_FR.qm</file> <file>localization/LameXP_FR.qm</file>
<file>localization/LameXP_FR.qm.txt</file> <file>localization/LameXP_FR.qm.txt</file>
<!-- <file>localization/LameXP_IT.qm</file>
<file>localization/LameXP_IT.qm</file> <file>localization/LameXP_IT.qm.txt</file>
<file>localization/LameXP_IT.qm.txt</file>
-->
</qresource> </qresource>
</RCC> </RCC>

Binary file not shown.

View File

@ -25,7 +25,7 @@
#define VER_LAMEXP_MAJOR 4 #define VER_LAMEXP_MAJOR 4
#define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 0 #define VER_LAMEXP_MINOR_LO 0
#define VER_LAMEXP_BUILD 223 #define VER_LAMEXP_BUILD 224
#define VER_LAMEXP_SUFFIX TechPreview #define VER_LAMEXP_SUFFIX TechPreview
/* /*

View File

@ -57,9 +57,10 @@ struct lamexp_contrib_t
//Contributors //Contributors
static const struct lamexp_contrib_t g_lamexp_contributors[] = static const struct lamexp_contrib_t g_lamexp_contributors[] =
{ {
{"en", "Englisch", "LoRd_MuldeR", "MuldeR2@GMX.de"}, {"en", "Englisch", "LoRd_MuldeR", "MuldeR2@GMX.de" },
{"de", "Deutsch", "LoRd_MuldeR", "MuldeR2@GMX.de"}, {"de", "Deutsch", "LoRd_MuldeR", "MuldeR2@GMX.de" },
{"fr", "Française", "Dodich Informatique", "Dodich@live.fr"}, {"fr", "Française", "Dodich Informatique", "Dodich@live.fr" },
{"it", "Italiano", "Roberto", "Gulliver_69@libero.it"},
{NULL, NULL, NULL, NULL} {NULL, NULL, NULL, NULL}
}; };

View File

@ -253,7 +253,7 @@ MainWindow::MainWindow(FileListModel *fileListModel, AudioFileModel *metaInfo, S
QStringList translations = lamexp_query_translations(); QStringList translations = lamexp_query_translations();
while(!translations.isEmpty()) while(!translations.isEmpty())
{ {
QString langId = translations.takeLast(); QString langId = translations.takeFirst();
QAction *currentLanguage = new QAction(this); QAction *currentLanguage = new QAction(this);
currentLanguage->setData(langId); currentLanguage->setData(langId);
currentLanguage->setText(lamexp_translation_name(langId)); currentLanguage->setText(lamexp_translation_name(langId));
@ -617,7 +617,7 @@ void MainWindow::windowShown(void)
if(QDate::currentDate() >= lamexp_version_date().addYears(1)) if(QDate::currentDate() >= lamexp_version_date().addYears(1))
{ {
qWarning("Binary is more than a year old, time to update!"); 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(); checkUpdatesActionActivated();
} }
@ -632,7 +632,7 @@ void MainWindow::windowShown(void)
QDate lastUpdateCheck = QDate::fromString(m_settings->autoUpdateLastCheck(), Qt::ISODate); QDate lastUpdateCheck = QDate::fromString(m_settings->autoUpdateLastCheck(), Qt::ISODate);
if(!lastUpdateCheck.isValid() || QDate::currentDate() >= lastUpdateCheck.addDays(14)) 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(); checkUpdatesActionActivated();
} }