mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
Fix #1406 convert 'jp' to 'ja' in lang table
This commit is contained in:
parent
0177ee3abe
commit
338951f5c8
5 changed files with 67 additions and 4 deletions
|
|
@ -8,5 +8,6 @@
|
|||
<conditions>
|
||||
<condition operation="equal" column="site_srl" var="site_srl" notnull="notnull" filter="number" />
|
||||
<condition operation="equal" column="name" var="name" pipe="and" />
|
||||
<condition operation="equal" column="lang_code" var="lang_code" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
13
modules/module/queries/getLangCount.xml
Normal file
13
modules/module/queries/getLangCount.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<query id="getLangCount" action="select">
|
||||
<tables>
|
||||
<table name="lang" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="COUNT(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="site_srl" var="site_srl" notnull="notnull" filter="number" />
|
||||
<condition operation="equal" column="name" var="name" pipe="and" />
|
||||
<condition operation="equal" column="lang_code" var="lang_code" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/module/queries/updateLangCode.xml
Normal file
11
modules/module/queries/updateLangCode.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateLangCode" action="update">
|
||||
<tables>
|
||||
<table name="lang" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="lang_code" var="new_lang_code" notnull="notnull" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="lang_code" var="lang_code" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue