Language plugin translation #361

This commit is contained in:
Jokob-sk
2023-08-17 07:33:48 +10:00
parent 39eb7fff1e
commit f35550663d
5 changed files with 36 additions and 52 deletions

View File

@@ -252,8 +252,16 @@ def importConfigs (db):
conf.mySchedules.append(schedule_class(pref, newSchedule, newSchedule.next(), False))
# Collect settings related language strings
# Creates an entry with key ARPSCAN_CMD_name
collect_lang_strings(db, set, pref + "_" + set["function"])
# Collect column related language strings
for clmn in plugin.get('database_column_definitions', []):
# Creates an entry with key ARPSCAN_Object_PrimaryID_name
collect_lang_strings(db, clmn, pref + "_" + clmn.get("column", ""))
conf.plugins_once_run = False
# -----------------
# Plugins END