mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
aaefd56661
This CL introduces new text reference notation !string/<resource_name> to refer a string resource on the fly. This notation is mainly used to represent action key labels may refer a string in a system locale in run-time. This notation is needed to implement Hinglish and Serbian-Latin keyboards that need to refer its own action key labels. Bug: 17169632 Bug: 9687668 Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
65 lines
3.5 KiB
XML
65 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** Copyright 2012, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<resources>
|
|
<string name="empty_string">""</string>
|
|
<string name="single_char">"a"</string>
|
|
<string name="space">" "</string>
|
|
<string name="single_label">"abc"</string>
|
|
<string name="spaces">" "</string>
|
|
<string name="spaces_in_label">"a b c"</string>
|
|
<string name="spaces_at_beginning_of_label">" abc"</string>
|
|
<string name="spaces_at_end_of_label">"abc "</string>
|
|
<string name="label_surrounded_by_spaces">" abc "</string>
|
|
<string name="escaped_char">"\\a"</string>
|
|
<string name="escaped_comma">"\\,"</string>
|
|
<string name="escaped_comma_escape">"a\\,\\"</string>
|
|
<string name="escaped_escape">"\\\\"</string>
|
|
<string name="escaped_label">"a\\bc"</string>
|
|
<string name="escaped_label_at_beginning">"\\abc"</string>
|
|
<string name="escaped_label_at_end">"abc\\"</string>
|
|
<string name="escaped_label_with_comma">"a\\,c"</string>
|
|
<string name="escaped_label_with_comma_at_beginning">"\\,bc"</string>
|
|
<string name="escaped_label_with_comma_at_end">"ab\\,"</string>
|
|
<string name="escaped_label_with_successive">"\\,\\\\bc"</string>
|
|
<string name="escaped_label_with_escape">"a\\\\c"</string>
|
|
<string name="multiple_chars">"a,b,c"</string>
|
|
<string name="multiple_chars_surrounded_by_spaces">" a , b , c "</string>
|
|
<string name="multiple_labels">"abc,def,ghi"</string>
|
|
<string name="multiple_labels_surrounded_by_spaces">" abc , def , ghi "</string>
|
|
<string name="multiple_chars_with_comma">"a,\\,,c"</string>
|
|
<string name="multiple_chars_with_comma_surrounded_by_spaces">" a , \\, , c "</string>
|
|
<string name="multiple_labels_with_escape">"\\abc,d\\ef,gh\\i"</string>
|
|
<string name="multiple_labels_with_escape_surrounded_by_spaces">" \\abc , d\\ef , gh\\i "</string>
|
|
<string name="multiple_labels_with_comma_and_escape">"ab\\\\,d\\\\\\,,g\\,i"</string>
|
|
<string name="multiple_labels_with_comma_and_escape_surrounded_by_spaces">" ab\\\\ , d\\\\\\, , g\\,i "</string>
|
|
<string name="indirect_string">!string/multiple_chars</string>
|
|
<string name="indirect_string_with_literal">x,!string/multiple_chars,y</string>
|
|
<string name="indirect2_string">!string/indirect_string</string>
|
|
<string name="infinite_indirection">infinite,!string/infinite_indirection,loop</string>
|
|
<string name="upper_indirect_string">!STRING/MULTIPLE_CHARS</string>
|
|
<string name="upper_indirect_string_with_literal">x,!STRING/MULTIPLE_CHARS,y</string>
|
|
<string name="upper_indirect2_string">!STRING/UPPER_INDIRECT_STRING</string>
|
|
<string name="upper_infinite_indirection">infinite,!STRING/INFINITE_INDIRECTION,loop</string>
|
|
<string name="keyspec_indirect_navigate_actions">!fixedColumnOrder!2,!text/keyspec_action_previous,!text/keyspec_action_next</string>
|
|
<string name="label_next_key">ActionNext</string>
|
|
<string name="label_previous_key">ActionPrevious</string>
|
|
</resources>
|