mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
a?adido directorio para las traducciones, se van a poder a?adir lenguajes sin
recompilar
This commit is contained in:
@ -5,7 +5,6 @@
|
|||||||
<file>../files/shortcuts.html</file>
|
<file>../files/shortcuts.html</file>
|
||||||
<file>../files/shortcuts2.html</file>
|
<file>../files/shortcuts2.html</file>
|
||||||
<file>../files/translator.html</file>
|
<file>../files/translator.html</file>
|
||||||
<file>./yacreader_es.qm</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
|
|
||||||
<qresource lang="es_ES">
|
<qresource lang="es_ES">
|
||||||
|
@ -32,7 +32,7 @@ int main(int argc, char * argv[])
|
|||||||
|
|
||||||
QTranslator translator;
|
QTranslator translator;
|
||||||
QString sufix = QLocale::system().name();
|
QString sufix = QLocale::system().name();
|
||||||
translator.load(":/yacreader_"+sufix);
|
translator.load("./languages/yacreader_"+sufix);
|
||||||
app.installTranslator(&translator);
|
app.installTranslator(&translator);
|
||||||
app.setApplicationName("YACReader");
|
app.setApplicationName("YACReader");
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<qresource>
|
<qresource>
|
||||||
<file>../files/about.html</file>
|
<file>../files/about.html</file>
|
||||||
<file>../files/helpYACReaderLibrary.html</file>
|
<file>../files/helpYACReaderLibrary.html</file>
|
||||||
<file>./yacreaderlibrary_es.qm</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
|
|
||||||
<qresource lang="es_ES">
|
<qresource lang="es_ES">
|
||||||
|
@ -13,7 +13,7 @@ int main( int argc, char ** argv )
|
|||||||
|
|
||||||
QTranslator translator;
|
QTranslator translator;
|
||||||
QString sufix = QLocale::system().name();
|
QString sufix = QLocale::system().name();
|
||||||
translator.load(":/yacreaderlibrary_"+sufix);
|
translator.load("./languages/yacreaderlibrary_"+sufix);
|
||||||
app.installTranslator(&translator);
|
app.installTranslator(&translator);
|
||||||
app.setApplicationName("YACReaderLibrary");
|
app.setApplicationName("YACReaderLibrary");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user