android4.4 mobile plan

1、首先 grep -Rns "Mobile plan" packages/apps/Settings/

  packages/apps/Settings/res/values-en-rGB/strings.xml:989:    <string name="manage_mobile_plan_title" msgid="7630170375010107744">"Mobile plan"</string>
       packages/apps/Settings/res/values-en-rIN/strings.xml:989:    <string name="manage_mobile_plan_title" msgid="7630170375010107744">"Mobile plan"</string>
       packages/apps/Settings/res/values/strings.xml:2381:    <!-- Mobile plan [CHAR LIMIT=35]-->
       packages/apps/Settings/res/values/strings.xml:2382:    <string name="manage_mobile_plan_title" translatable="true">Mobile plan</string>
       packages/apps/Settings/res/values-tl/strings.xml:989:    <string name="manage_mobile_plan_title" msgid="7630170375010107744">"Mobile plan"</string>

2、从搜索中我们得到“manage_mobile_plan_title”,搜索grep -Rns "manage_mobile_plan_title" packages/apps/Settings/

......

packages/apps/Settings/res/values-uk/strings.xml:989:    <string name="manage_mobile_plan_title" msgid="7630170375010107744">"Тарифний план"</string>
packages/apps/Settings/res/values-rm/strings.xml:1509:    <!-- no translation found for manage_mobile_plan_title (7630170375010107744) -->
packages/apps/Settings/res/values-ms/strings.xml:985:    <string name="manage_mobile_plan_title" msgid="7588182101738043593">"Urus pelan mudah alih"</string>
packages/apps/Settings/res/xml/wireless_settings.xml:69:        android:title="@string/manage_mobile_plan_title"
packages/apps/Settings/res/values-az/strings.xml:1005:    <string name="manage_mobile_plan_title" msgid="7588182101738043593">"Mobil planı idarə edin"</string>
packages/apps/Settings/res/values-zh-rCN/strings.xml:991:    <string name="manage_mobile_plan_title" msgid="7630170375010107744">"手机套餐"</string>

......

3、找到packages/apps/Settings/res/xml/wireless_settings.xml:69:  android:title="@string/manage_mobile_plan_title" 其它的都是不同语言的设置,找到

.....

<!--<Preference
        android:key="manage_mobile_plan"
        android:title="@string/manage_mobile_plan_title"
        android:persistent="false" />-->

......

是一个Preference,所以将其注册就OK!

你可能感兴趣的:(mobile,plan,android4.4)