Bug 715179 - (1 of 8) Implemented the changes in mbrubeck's original patch to add string changes for the font inflation preferences dialog. r=bnicholson

This commit is contained in:
Michael Comella 2012-07-19 21:08:40 -04:00
Родитель 81fe14b6ce
Коммит 538606fc62
4 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -275,6 +275,7 @@ RES_LAYOUT = \
res/layout/doorhangerpopup.xml \
res/layout/doorhanger.xml \
res/layout/find_in_page_content.xml \
res/layout/font_size_preference.xml \
res/layout/gecko_app.xml \
res/layout/web_app.xml \
res/layout/launch_app_list.xml \

Просмотреть файл

@ -85,6 +85,11 @@
<!ENTITY pref_font_size_medium "Medium">
<!ENTITY pref_font_size_large "Large">
<!ENTITY pref_font_size_xlarge "Extra Large">
<!-- Localization note (pref_font_size_preview_text): This paragraph is used as an example to
demonstrate the font size setting. It is meant to be whimsical and fun. -->
<!ENTITY pref_font_size_preview_text "The quick orange fox jumps over your expectations with more speed, more flexibility and more security. As a non-profit, we\'re free to innovate on your behalf without any pressure to compromise. That means a better experience for you and a brighter future for the Web.">
<!ENTITY pref_use_master_password "Use master password">
<!ENTITY pref_sync "Sync">
<!ENTITY pref_search_suggestions "Show search suggestions">

Просмотреть файл

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:id="@+id/preview"
style="?android:attr/textAppearanceSmall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/pref_font_size_preview_text"
android:textColor="?android:attr/textColorSecondary" />
</LinearLayout>

Просмотреть файл

@ -91,6 +91,7 @@
<string name="pref_font_size_medium">&pref_font_size_medium;</string>
<string name="pref_font_size_large">&pref_font_size_large;</string>
<string name="pref_font_size_xlarge">&pref_font_size_xlarge;</string>
<string name="pref_font_size_preview_text">&pref_font_size_preview_text;</string>
<string name="pref_sync">&pref_sync;</string>
<string name="pref_search_suggestions">&pref_search_suggestions;</string>
<string name="pref_private_data_history">&pref_private_data_history;</string>