mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-31 08:14:29 -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/shortcuts2.html</file> | ||||
|   <file>../files/translator.html</file> | ||||
| 	<file>./yacreader_es.qm</file> | ||||
| </qresource>  | ||||
|  | ||||
| <qresource lang="es_ES"> | ||||
|  | ||||
| @ -32,7 +32,7 @@ int main(int argc, char * argv[]) | ||||
|  | ||||
| 	QTranslator translator; | ||||
| 	QString sufix = QLocale::system().name(); | ||||
| 	translator.load(":/yacreader_"+sufix); | ||||
| 	translator.load("./languages/yacreader_"+sufix); | ||||
| 	app.installTranslator(&translator); | ||||
| 	app.setApplicationName("YACReader"); | ||||
|  | ||||
|  | ||||
| @ -2,7 +2,6 @@ | ||||
| <qresource> | ||||
| 	<file>../files/about.html</file> | ||||
| 	<file>../files/helpYACReaderLibrary.html</file> | ||||
|     <file>./yacreaderlibrary_es.qm</file> | ||||
| </qresource> | ||||
|  | ||||
| <qresource lang="es_ES"> | ||||
|  | ||||
| @ -13,7 +13,7 @@ int main( int argc, char ** argv ) | ||||
|  | ||||
|   QTranslator translator; | ||||
|   QString sufix = QLocale::system().name(); | ||||
|   translator.load(":/yacreaderlibrary_"+sufix); | ||||
|   translator.load("./languages/yacreaderlibrary_"+sufix); | ||||
|   app.installTranslator(&translator); | ||||
|   app.setApplicationName("YACReaderLibrary"); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user