*/}}
YimingWu 3 mesiacov pred
rodič
commit
737a5261a4
4 zmenil súbory, kde vykonal 4 pridanie a 5 odobranie
  1. 1 1
      la_interface.h
  2. 1 1
      la_kernel.c
  3. 0 1
      la_util.h
  4. 2 2
      resources/la_translations.c

+ 1 - 1
la_interface.h

@@ -2295,7 +2295,7 @@ STRUCTURE(laManagedSaveExtra){
 #define LA_UDF_SHARE_POINTER(id) \
     la_UDFAppendSharedTypePointer("" #id, id)
 
-void la_MakeTranslations();
+void la_MakeTranslations_zh_hans();
 
 laCanvasTemplate *la_GetCanvasTemplate(char *TargetContainerID, char* TemplateID);
 laPropContainer* laUiHasExtraProps(laUiType *ut, int size, int Hyper);

+ 1 - 1
la_kernel.c

@@ -1321,7 +1321,7 @@ int laGetReadyWith(laInitArguments* ia){
     laAddExtraExtension(LA_FILETYPE_UDF,"udf",0ll);
 
     la_InitProgressWindow();
-    la_MakeTranslations();
+    la_MakeTranslations_zh_hans();
 
     //tns_RegisterResourcesForSoftwareRender();
     la_RegisterDefaultSignals();

+ 0 - 1
la_util.h

@@ -764,7 +764,6 @@ void transDumpMissMatchRecord(const char * filename);
 void transNewEntry(const char * Target, const char * replacement);
 char * transLate(char * Target);
 void transState(void* UNUSED, int val);
-void transInitTranslation_zh_cn();
 
 #include <stdlib.h>
 #include <stdbool.h>

+ 2 - 2
resources/la_translations.c

@@ -514,8 +514,8 @@ static const char *entries[]={
 "Version","版本",
 0,0};
 
-void la_MakeTranslations(){
-    transSetLanguage("zh-CN");
+void la_MakeTranslations_zh_hans(){
+    transSetLanguage("zh-hans");
     for(int i=0;;i++){if(!entries[i*2])break;
         transNewEntry(entries[i*2],entries[i*2+1]);
     }