Remove wrong usage of DoNotTranslate

We use the attritube 'translatable="false"' to mark a string that should
not be translated.

Bug: 78187305
Test: no test
Change-Id: I4b80f969a9a5c337e3658debc43fd810350b57eb
This commit is contained in:
Pengquan Meng
2018-04-17 11:32:48 -07:00
parent b74e635270
commit 4e0c446856

View File

@@ -215,12 +215,9 @@
<string-array name="wifi_security"> <string-array name="wifi_security">
<!-- The Wi-Fi network does not have any security. --> <!-- The Wi-Fi network does not have any security. -->
<item>@string/wifi_security_none</item> <item>@string/wifi_security_none</item>
<!-- Do not translate. --> <item translatable="false">@string/wifi_security_wep</item>
<item>@string/wifi_security_wep</item> <item translatable="false">@string/wifi_security_psk_generic</item>
<!-- Do not translate. --> <item translatable="false">@string/wifi_security_eap</item>
<item>@string/wifi_security_psk_generic</item>
<!-- Do not translate. -->
<item>@string/wifi_security_eap</item>
</string-array> </string-array>
@@ -229,40 +226,27 @@
<string-array name="wifi_security_no_eap"> <string-array name="wifi_security_no_eap">
<!-- The Wi-Fi network does not have any security. --> <!-- The Wi-Fi network does not have any security. -->
<item>@string/wifi_security_none</item> <item>@string/wifi_security_none</item>
<!-- Do not translate. --> <item translatable="false">@string/wifi_security_wep</item>
<item>@string/wifi_security_wep</item> <item translatable="false">@string/wifi_security_psk_generic</item>
<!-- Do not translate. -->
<item>@string/wifi_security_psk_generic</item>
</string-array> </string-array>
<!-- Match this with the constants in WifiDialog. --> <skip /> <!-- Match this with the constants in WifiDialog. --> <skip />
<!-- Wi-Fi settings. The type of EAP method a Wi-Fi network has. --> <!-- Wi-Fi settings. The type of EAP method a Wi-Fi network has. -->
<string-array name="wifi_eap_method"> <string-array name="wifi_eap_method" translatable="false">
<!-- Do not translate. -->
<item>PEAP</item> <item>PEAP</item>
<!-- Do not translate. -->
<item>TLS</item> <item>TLS</item>
<!-- Do not translate. -->
<item>TTLS</item> <item>TTLS</item>
<!-- Do not translate. -->
<item>PWD</item> <item>PWD</item>
<!-- Do not translate. -->
<item>SIM</item> <item>SIM</item>
<!-- Do not translate. -->
<item>AKA</item> <item>AKA</item>
<!-- Do not translate. -->
<item>AKA\'</item> <item>AKA\'</item>
</string-array> </string-array>
<!-- Type of EAP method when EAP SIM, AKA, AKA' are not supported --> <!-- Type of EAP method when EAP SIM, AKA, AKA' are not supported -->
<string-array name="eap_method_without_sim_auth"> <string-array name="eap_method_without_sim_auth" translatable="false">
<!-- Do not translate. -->
<item>PEAP</item> <item>PEAP</item>
<!-- Do not translate. -->
<item>TLS</item> <item>TLS</item>
<!-- Do not translate. -->
<item>TTLS</item> <item>TTLS</item>
<!-- Do not translate. -->
<item>PWD</item> <item>PWD</item>
</string-array> </string-array>
@@ -379,16 +363,11 @@
<!-- Type of EAP method when EAP SIM, AKA, AKA' are supported --> <!-- Type of EAP method when EAP SIM, AKA, AKA' are supported -->
<string-array name="wifi_peap_phase2_entries_with_sim_auth"> <string-array name="wifi_peap_phase2_entries_with_sim_auth">
<item>None</item> <item>None</item>
<!-- Do not translate. --> <item translatable="false">MSCHAPV2</item>
<item>MSCHAPV2</item> <item translatable="false">GTC</item>
<!-- Do not translate. --> <item translatable="false">SIM</item>
<item>GTC</item> <item translatable="false">AKA</item>
<!-- Do not translate. --> <item translatable="false">AKA\'</item>
<item>SIM</item>
<!-- Do not translate. -->
<item>AKA</item>
<!-- Do not translate. -->
<item>AKA\'</item>
</string-array> </string-array>
<!-- Phase 2 options for rest of EAP methods --> <!-- Phase 2 options for rest of EAP methods -->
@@ -513,12 +492,9 @@
<!-- MVNO Info used in APN editor --> <!-- MVNO Info used in APN editor -->
<string-array name="mvno_type_entries"> <string-array name="mvno_type_entries">
<item>None</item> <item>None</item>
<!-- Do not translate. --> <item translatable="false">SPN</item>
<item>SPN</item> <item translatable="false">IMSI</item>
<!-- Do not translate. --> <item translatable="false">GID</item>
<item>IMSI</item>
<!-- Do not translate. -->
<item>GID</item>
</string-array> </string-array>
<string-array translatable="false" name="mvno_type_values"> <string-array translatable="false" name="mvno_type_values">