Removed Qt translations from the lang/ directory.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1529 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-25 16:44:11 +00:00
parent d0d27efd57
commit 4164cf227f
19 changed files with 27 additions and 67584 deletions
BIN
View File
Binary file not shown.
-10362
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-10512
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-8044
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-8229
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-2004
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-10520
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-7968
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-9930
View File
File diff suppressed because it is too large Load Diff
+22 -12
View File
@@ -42,7 +42,8 @@ our %languages = (
'name' => 'Français',
'french_name' => 'Français',
'translator_name' => 'Laurent Trinques',
'translator_mail_ml' => 'scorpio@qelectrotech.org'
'translator_mail_ml' => 'scorpio@qelectrotech.org',
'qt' => 1
},
'en' => {
'name' => 'English',
@@ -58,61 +59,71 @@ our %languages = (
'name' => 'Español',
'french_name' => 'Espagnol',
'translator_name' => 'Alfredo Carreto',
'translator_mail_ml' => 'electronicos_mx@yahoo.com.mx'
'translator_mail_ml' => 'electronicos_mx@yahoo.com.mx',
'qt' => 1
},
'ru' => {
'name' => 'Russe',
'french_name' => 'Русский',
'translator_name' => 'Yuriy Litkevich',
'translator_mail_ml' => 'lit-uriy@yandex.ru'
'translator_mail_ml' => 'lit-uriy@yandex.ru',
'qt' => 1
},
'pt' => {
'name' => 'Portugais',
'french_name' => 'Português',
'translator_name' => 'Jose Carlos Martins',
'translator_mail_ml' => 'jose@qelectrotech.org'
'translator_mail_ml' => 'jose@qelectrotech.org',
'qt' => 1
},
'cs' => {
'name' => 'Czech',
'french_name' => 'Tchèque',
'translator_name' => 'Pavel Fric',
'translator_mail_ml' => 'pavelfric@seznam.cz'
'translator_mail_ml' => 'pavelfric@seznam.cz',
'qt' => 1
},
'pl' => {
'name' => 'Polska',
'french_name' => 'Polonais',
'translator_name' => 'Pawel Smiech',
'translator_mail_ml' => 'pawel32640@gmail.com'
'translator_mail_ml' => 'pawel32640@gmail.com',
'qt' => 1
},
'ca' => {
'name' => 'Català',
'french_name' => 'Catalan',
'translator_name' => 'Youssef Ouamalkran',
'translator_mail_ml' => 'youssefsan@gmail.com'
'translator_mail_ml' => 'youssefsan@gmail.com',
'qt' => 0
},
'ro' => {
'name' => 'Română',
'french_name' => 'Roumain',
'translator_name' => 'Gabi Mandoc',
'translator_mail_ml' => 'gabriel.mandoc@gic.ro'
'translator_mail_ml' => 'gabriel.mandoc@gic.ro',
'qt' => 0
},
'de' => {
'name' => 'Deutsch',
'french_name' => 'Allemand',
'translator_name' => 'Markus Budde',
'translator_mail_ml' => 'markus.budde@msn.com'
'translator_mail_ml' => 'markus.budde@msn.com',
'qt' => 1
},
'it' => {
'name' => 'Italiano',
'french_name' => 'Italiano',
'translator_name' => 'Alessandro Conti',
'translator_mail_ml' => 'dr.slump@alexconti.it'
'translator_mail_ml' => 'dr.slump@alexconti.it',
'qt' => 1
},
'ar' => {
'name' => 'Arabic',
'french_name' => 'Arabe',
'translator_name' => 'Mohamed Souabni',
'translator_mail_ml' => 'souabnimohamed@yahoo.fr'
'translator_mail_ml' => 'souabnimohamed@yahoo.fr',
'qt' => 1
}
);
@@ -167,7 +178,6 @@ finddepth(\&analyze_element_file, 'elements');
# Complete the "languages" hash with statistics
for my $lang_key (@ordered_languages) {
my $lang = $languages{$lang_key};
$lang->{'qt'} = -f sprintf('lang/qt_%s.ts', $lang_key) ? 1 : 0 unless defined($lang->{'qt'});
# strings statistics
my $ts_file = sprintf('lang/qet_%s.ts', $lang_key);
-1
View File
@@ -74,7 +74,6 @@ RC_FILE = ico/windows_icon/qelectrotech.rc
# Fichiers de traduction qui seront installes
TRANSLATIONS += lang/qet_en.ts lang/qet_es.ts lang/qet_fr.ts lang/qet_ru.ts lang/qet_pt.ts lang/qet_cs.ts lang/qet_pl.ts lang/qet_de.ts lang/qet_ro.ts lang/qet_it.ts
TRANSLATIONS += lang/qt_es.ts lang/qt_fr.ts lang/qt_ru.ts lang/qt_pt.ts lang/qt_cs.ts lang/qt_pl.ts lang/qt_de.ts lang/qt_it.ts
# Modules Qt utilises par l'application
QT += xml svg network sql
+4 -1
View File
@@ -155,8 +155,11 @@ QETApp *QETApp::instance() {
void QETApp::setLanguage(const QString &desired_language) {
QString languages_path = languagesPath();
// charge les eventuelles traductions pour la lib Qt
// load Qt library translations
QString qt_l10n_path = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
if (!qtTranslator.load("qt_" + desired_language, qt_l10n_path)) {
qtTranslator.load("qt_" + desired_language, languages_path);
}
installTranslator(&qtTranslator);
// charge les traductions pour l'application QET