pgconverter for locale_string
This commit is contained in:
parent
0e7783c75e
commit
c126c2b2aa
20
sql/qt/pgsql/convert_locale_string_2_text.sql
Normal file
20
sql/qt/pgsql/convert_locale_string_2_text.sql
Normal file
@ -0,0 +1,20 @@
|
||||
INSERT INTO system_text(id,`text`,lang)
|
||||
SELECT id, deDE , 'deDE' FROM system_locale_string;
|
||||
INSERT INTO system_text(id,`text`,lang)
|
||||
SELECT id, enUS , 'enUS' FROM system_locale_string;
|
||||
INSERT INTO system_text(id,`text`,lang)
|
||||
SELECT id, frFR , 'frFR' FROM system_locale_string;
|
||||
INSERT INTO system_text(id,`text`,lang)
|
||||
SELECT id, esES , 'esES' FROM system_locale_string;
|
||||
INSERT INTO system_text(id,`text`,lang)
|
||||
SELECT id, trTR , 'trTR' FROM system_locale_string;
|
||||
INSERT INTO system_text(id,`text`,lang)
|
||||
SELECT id, jaJA , 'jaJA' FROM system_locale_string;
|
||||
DELETE FROM system_text WHERE `text` = '';
|
||||
|
||||
INSERT INTO system_text_tag(id,tag)
|
||||
SELECT id,'basic' FROM system_locale_string WHERE category = 1;
|
||||
INSERT INTO system_text_tag(id,tag)
|
||||
SELECT id,'webcraft' FROM system_locale_string WHERE category = 10;
|
||||
INSERT INTO system_text_tag(id,tag)
|
||||
SELECT id,'slingit' FROM system_locale_string WHERE category = 110;
|
||||
Loading…
x
Reference in New Issue
Block a user