From OpenSCADAWiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 3: | Line 3: | ||
* LibsDB.vcaBase.wlb_Main: | * LibsDB.vcaBase.wlb_Main: | ||
** Appended of the dynamic messages with Ukrainian translation for main ones of DiskSMART and UPS during representing by "Object properties (objProps)". | ** Appended of the dynamic messages with Ukrainian translation for main ones of DiskSMART and UPS during representing by "Object properties (objProps)". | ||
− | ** | + | ** FIX:ElCadr,ImgLab: The attribute "Parameter: code (prmShifr)", "Parameter: description (prmDescr)" and "Parameter: commands (digComs)", "Parameter: statuses (digStts)" set to the type "String (translate)". |
** FIX:RootPgSo: The attribute "Procedure of the Demo play (demoPlayProc)" set to the type "Text (translate)". | ** FIX:RootPgSo: The attribute "Procedure of the Demo play (demoPlayProc)" set to the type "Text (translate)". | ||
+ | ** anShow,anShow1: Appended of translation dynamic messages from parameter attributes NAME and DESCR. | ||
* SYS,DAQ,UI.VCAEngine: Implementing of disabling translation of string configuration fields, DAQ attributes, UI attributes at changing in the dynamic execution: | * SYS,DAQ,UI.VCAEngine: Implementing of disabling translation of string configuration fields, DAQ attributes, UI attributes at changing in the dynamic execution: | ||
** SYS,DAQ,DB.{FireBird,MySQL,ODBC,PostgreSQL,SQLite}: appending the unified method ''{TCfg,TVal}::isTransl()'' of checking translation the element, and moving on its everywhere; | ** SYS,DAQ,DB.{FireBird,MySQL,ODBC,PostgreSQL,SQLite}: appending the unified method ''{TCfg,TVal}::isTransl()'' of checking translation the element, and moving on its everywhere; | ||
Line 14: | Line 15: | ||
*** UI.VCAEngine: at Widget attribute change in the Session context for widgets in processing and at writing to DAQ attribute by links. | *** UI.VCAEngine: at Widget attribute change in the Session context for widgets in processing and at writing to DAQ attribute by links. | ||
** the DAQ Parameters added of restoring the translation of dynamically changed configuration fields at load. | ** the DAQ Parameters added of restoring the translation of dynamically changed configuration fields at load. | ||
− | * FIX:SYS: TMess: | + | * FIX:SYS: TMess: adding messages to the table "Trs" is enabled only in the messages level Debug, for preventing flooding to the table of any translated messages and not. TMess::translDyn() forced to FALSE and the flag set to FALSE with switching to the SINGLE-LANGUAGE mode; |
+ | ** FIX: preventing to show the Translation Manager in the SINGLE-LANGUAGE mode; | ||
+ | ** configuration field of setting the program locale expanded by its cleaning at setting empty value; | ||
+ | ** the generic translation functions translGet() and translSet() expanded to use the user "root" at missing the translation context, that is you can set the default language in the DYNAMIC-MULTILANGUAGE mode just changing language of this user. | ||
* DB: fieldSQLSet() appended of warning some messages completely cleaning at saving not the dynamic set fields but a copy. Appended of registering new message for translation with warning the registering and ready for translation in the Translation Manager after setting new base messages to empty fields. | * DB: fieldSQLSet() appended of warning some messages completely cleaning at saving not the dynamic set fields but a copy. Appended of registering new message for translation with warning the registering and ready for translation in the Translation Manager after setting new base messages to empty fields. | ||
* FIX:DAQ.OPC_UA,Protocol.HTTP,UI.{QTCfg,Vision}: Fixing and improving some original messages. | * FIX:DAQ.OPC_UA,Protocol.HTTP,UI.{QTCfg,Vision}: Fixing and improving some original messages. | ||
Line 20: | Line 24: | ||
** FIX: Templates fixed-adapted to the dynamic translation in using the IO names. | ** FIX: Templates fixed-adapted to the dynamic translation in using the IO names. | ||
** FIX: Fixing-finishing the dynamic translation of values requesting in the Control Request '''TValue::"get:/serv/attr"''' for non archiving elements. | ** FIX: Fixing-finishing the dynamic translation of values requesting in the Control Request '''TValue::"get:/serv/attr"''' for non archiving elements. | ||
+ | ** FIX: messSet(),alarmSet() rewrote for dynamic translation. | ||
** Parameter templates allowed in setting empty names for their translation clearing in the dynamic translation mode. | ** Parameter templates allowed in setting empty names for their translation clearing in the dynamic translation mode. | ||
+ | ** LogicLev,ModBus,OPC_UA,Siemens: Appending of translation the configuration fields "NAME" and "DESCR" at loading to the calculation context. | ||
** FIX:DAQGate: Some fixed in Ukrainian translation. | ** FIX:DAQGate: Some fixed in Ukrainian translation. | ||
** FIX:JavaLikeCalk: Some improved in the translation. | ** FIX:JavaLikeCalk: Some improved in the translation. | ||
Line 27: | Line 33: | ||
* FIX:UI.VCAEngine: The session User API function ''this.attr()'' fixed in checking the translation flag TFld::TransltText. | * FIX:UI.VCAEngine: The session User API function ''this.attr()'' fixed in checking the translation flag TFld::TransltText. | ||
** FIX: Templates fixed-adapted to the dynamic translation in using the configuration template of the attributes. | ** FIX: Templates fixed-adapted to the dynamic translation in using the configuration template of the attributes. | ||
+ | ** FIX: Adding the translation restoring of the String attributes at loading input links before execution the calculation contexts, to restore the transitive translation of the DAQ-Source messages. |
Revision as of 08:46, 16 June 2025
CONCEPTUAL > Messages Translation (fixes of the conceptual changes of the previous updates)
- LibsDB.OscadaLibs: Automatic updating some translation.
- LibsDB.vcaBase.wlb_Main:
- Appended of the dynamic messages with Ukrainian translation for main ones of DiskSMART and UPS during representing by "Object properties (objProps)".
- FIX:ElCadr,ImgLab: The attribute "Parameter: code (prmShifr)", "Parameter: description (prmDescr)" and "Parameter: commands (digComs)", "Parameter: statuses (digStts)" set to the type "String (translate)".
- FIX:RootPgSo: The attribute "Procedure of the Demo play (demoPlayProc)" set to the type "Text (translate)".
- anShow,anShow1: Appended of translation dynamic messages from parameter attributes NAME and DESCR.
- SYS,DAQ,UI.VCAEngine: Implementing of disabling translation of string configuration fields, DAQ attributes, UI attributes at changing in the dynamic execution:
- SYS,DAQ,DB.{FireBird,MySQL,ODBC,PostgreSQL,SQLite}: appending the unified method {TCfg,TVal}::isTransl() of checking translation the element, and moving on its everywhere;
- TVal: appending the "mNoTransl" flag and functions of its treating: noTransl(), setNoTransl(), TValue::setNoTransl();
- UI.VCAEngine::Attr: appending the "NoTransl" flag and its treating in isTransl();
- translation is disabled:
- at writing through links of implementation the templates in TPrmTempl::Impl::lnkOutput();
- at the User API call TVal::set();
- UI.VCAEngine: at Widget attribute change in the Session context for widgets in processing and at writing to DAQ attribute by links.
- the DAQ Parameters added of restoring the translation of dynamically changed configuration fields at load.
- FIX:SYS: TMess: adding messages to the table "Trs" is enabled only in the messages level Debug, for preventing flooding to the table of any translated messages and not. TMess::translDyn() forced to FALSE and the flag set to FALSE with switching to the SINGLE-LANGUAGE mode;
- FIX: preventing to show the Translation Manager in the SINGLE-LANGUAGE mode;
- configuration field of setting the program locale expanded by its cleaning at setting empty value;
- the generic translation functions translGet() and translSet() expanded to use the user "root" at missing the translation context, that is you can set the default language in the DYNAMIC-MULTILANGUAGE mode just changing language of this user.
- DB: fieldSQLSet() appended of warning some messages completely cleaning at saving not the dynamic set fields but a copy. Appended of registering new message for translation with warning the registering and ready for translation in the Translation Manager after setting new base messages to empty fields.
- FIX:DAQ.OPC_UA,Protocol.HTTP,UI.{QTCfg,Vision}: Fixing and improving some original messages.
- FIX:DAQ: Fixing-finishing the dynamic translation for title of the controller and parameter object.
- FIX: Templates fixed-adapted to the dynamic translation in using the IO names.
- FIX: Fixing-finishing the dynamic translation of values requesting in the Control Request TValue::"get:/serv/attr" for non archiving elements.
- FIX: messSet(),alarmSet() rewrote for dynamic translation.
- Parameter templates allowed in setting empty names for their translation clearing in the dynamic translation mode.
- LogicLev,ModBus,OPC_UA,Siemens: Appending of translation the configuration fields "NAME" and "DESCR" at loading to the calculation context.
- FIX:DAQGate: Some fixed in Ukrainian translation.
- FIX:JavaLikeCalk: Some improved in the translation.
- FIX:Protocol.OPC_UA: Adaption to the dynamic translation in data requests.
- FIX:UI.{QTCfg,Vision}: The messages "Load from DB" and "Save to DB" renamed to "Load" and "Save" and with "storage" instead "DB" in full messages.
- FIX:UI.VCAEngine: The session User API function this.attr() fixed in checking the translation flag TFld::TransltText.
- FIX: Templates fixed-adapted to the dynamic translation in using the configuration template of the attributes.
- FIX: Adding the translation restoring of the String attributes at loading input links before execution the calculation contexts, to restore the transitive translation of the DAQ-Source messages.