diff --git a/systemres/main/resources/base/element/id_defined.json b/systemres/main/resources/base/element/id_defined.json index 7835f1ab36e989a751a07864ac6c78cbd9b953eb..714604403cbb6a75713b71bddd65f34fa9864a44 100644 --- a/systemres/main/resources/base/element/id_defined.json +++ b/systemres/main/resources/base/element/id_defined.json @@ -33014,8 +33014,8 @@ "order": 6555 }, { - "type": "string", - "name": "textfield_counter_content", + "type": "plural", + "name": "textfield_counter_content_part_one", "order": 6556 }, { @@ -33067,6 +33067,11 @@ "type": "float", "name": "subheader_titles_space", "order": 6566 + }, + { + "type": "plural", + "name": "textfield_counter_content_part_two", + "order": 6567 } ] } diff --git a/systemres/main/resources/base/element/pattern.json b/systemres/main/resources/base/element/pattern.json index 59e374a6189bc1085e827267cc70f7b2d142afbf..17206cdd6f11b61061e86d1dd0253bad64380168 100644 --- a/systemres/main/resources/base/element/pattern.json +++ b/systemres/main/resources/base/element/pattern.json @@ -5632,10 +5632,6 @@ { "name": "auto_fill_icon_emphasize_color", "value": "$color:icon_emphasize" - }, - { - "name": "textfield_counter_content", - "value": "$string:textfield_counter_content" } ] }, diff --git a/systemres/main/resources/base/element/plurals.json b/systemres/main/resources/base/element/plurals.json index aea0942aaedb654a53d84bb62edfae49c0151a78..ac404a1bb666a0c020d3e4f7b2116dba4b16534d 100644 --- a/systemres/main/resources/base/element/plurals.json +++ b/systemres/main/resources/base/element/plurals.json @@ -18,6 +18,32 @@ } } ] - } + }, + { + "name": "textfield_counter_content_part_one", + "value": [ + { + "quantity": "one", + "value": "%d character entered," + }, + { + "quantity": "other", + "value": "%d characters entered," + } + ] + }, + { + "name": "textfield_counter_content_part_two", + "value": [ + { + "quantity": "one", + "value": "limit is %d character." + }, + { + "quantity": "other", + "value": "limit is %d characters." + } + ] + } ] } diff --git a/systemres/main/resources/base/element/string.json b/systemres/main/resources/base/element/string.json index 2d22fa9722639724a744b9a0bbc13f3170b9116b..f1e1d8fe20e6d064d14d321da0219c43e40b4269 100644 --- a/systemres/main/resources/base/element/string.json +++ b/systemres/main/resources/base/element/string.json @@ -2110,10 +2110,6 @@ { "name": "general_ai_ask_celia", "value": "Ask Celia" - }, - { - "name": "textfield_counter_content", - "value": "Number of characters entered: %1$d, maximum number of characters allowed: %2$d" } ] } diff --git a/systemres/main/resources/zh_CN/element/plurals.json b/systemres/main/resources/zh_CN/element/plurals.json index f606610ff8c80f6b160551da5378bbff7742eed7..d47f23febb668d6094956034b2b89ffef7a59750 100644 --- a/systemres/main/resources/zh_CN/element/plurals.json +++ b/systemres/main/resources/zh_CN/element/plurals.json @@ -11,6 +11,24 @@ } } ] + }, + { + "name": "textfield_counter_content_part_one", + "value": [ + { + "quantity": "other", + "value": "已输入%d个字符," + } + ] + }, + { + "name": "textfield_counter_content_part_two", + "value": [ + { + "quantity": "other", + "value": "最多可输入%d个字符。" + } + ] } ] -} +} \ No newline at end of file diff --git a/systemres/main/resources/zh_CN/element/string.json b/systemres/main/resources/zh_CN/element/string.json index 0184035f290cdb3bd5c08b45bd5babedae20964c..eea64ccac7b36da5fe3e53cd691730a0d613a6da 100644 --- a/systemres/main/resources/zh_CN/element/string.json +++ b/systemres/main/resources/zh_CN/element/string.json @@ -1972,10 +1972,6 @@ { "name": "general_ai_ask_celia", "value": "问问小艺" - }, - { - "name": "textfield_counter_content", - "value": "已输入%1$d个字符,最多可输入%2$d个字符" } ] }