Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

packages-apps-FileManager: 提交

packages/apps/FileManager


Commit MetaInfo

修訂e97134c5e6f1eee8aec66b693b4cd6c042ca554a (tree)
時間2011-11-08 12:33:36
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

fix untranslated strings error

Change Summary

差異

--- a/res/layout/bluetooth_layout.xml
+++ b/res/layout/bluetooth_layout.xml
@@ -36,7 +36,7 @@
3636 android:layout_height="wrap_content"
3737 android:layout_width="match_parent"
3838 android:layout_gravity="center"
39- android:text="Bluetooth Transfer"
39+ android:text="@string/bt_title_text"
4040 android:textAppearance="?android:attr/textAppearanceLarge" />
4141 </LinearLayout>
4242
@@ -52,7 +52,7 @@
5252 android:layout_width="match_parent"
5353 android:layout_marginTop="15dip"
5454 android:gravity="center"
55- android:text="start bluetooth" />
55+ android:text="@string/bt_button_text" />
5656 <GridView
5757 android:id="@+id/bt_gridview"
5858 android:layout_width="match_parent"
@@ -64,4 +64,4 @@
6464 android:stretchMode="columnWidth"
6565 android:gravity="center"/>
6666
67-</LinearLayout>
\ No newline at end of file
67+</LinearLayout>
--- a/res/layout/info_layout.xml
+++ b/res/layout/info_layout.xml
@@ -77,7 +77,7 @@
7777 android:textColor="@color/white"
7878 android:gravity="left"
7979 android:textAppearance="?android:attr/textAppearanceMedium"
80- android:text="Number of folders: "/>
80+ android:text="@string/num_of_folders"/>
8181 <TextView
8282 android:id="@+id/info_dirs_label"
8383 android:layout_width="fill_parent"
@@ -94,7 +94,7 @@
9494 android:textColor="@color/white"
9595 android:gravity="left"
9696 android:textAppearance="?android:attr/textAppearanceMedium"
97- android:text="Number of files: "/>
97+ android:text="@string/num_of_files"/>
9898 <TextView
9999 android:id="@+id/info_files_label"
100100 android:layout_width="match_parent"
@@ -111,7 +111,7 @@
111111 android:textColor="@color/white"
112112 android:gravity="left"
113113 android:textAppearance="?android:attr/textAppearanceMedium"
114- android:text="Last Modified: "/>
114+ android:text="@string/last_modified"/>
115115 <TextView
116116 android:id="@+id/info_time_stamp"
117117 android:layout_width="match_parent"
@@ -128,7 +128,7 @@
128128 android:textColor="@color/white"
129129 android:gravity="left"
130130 android:textAppearance="?android:attr/textAppearanceMedium"
131- android:text="Total size: "/>
131+ android:text="@string/total_size"/>
132132 <TextView
133133 android:id="@+id/info_total_size"
134134 android:layout_width="match_parent"
@@ -145,7 +145,7 @@
145145 android:textColor="@color/white"
146146 android:gravity="left"
147147 android:textAppearance="?android:attr/textAppearanceMedium"
148- android:text="File Permissions: "/>
148+ android:text="@string/file_permissions"/>
149149 </TableRow>
150150 <TableRow>
151151 <TextView
@@ -155,7 +155,7 @@
155155 android:textColor="@color/white"
156156 android:gravity="left"
157157 android:textAppearance="?android:attr/textAppearanceMedium"
158- android:text="Read: "/>
158+ android:text="@string/read"/>
159159 <TextView
160160 android:id="@+id/info_read_perm"
161161 android:layout_width="match_parent"
@@ -172,7 +172,7 @@
172172 android:textColor="@color/white"
173173 android:gravity="left"
174174 android:textAppearance="?android:attr/textAppearanceMedium"
175- android:text="Write: "/>
175+ android:text="@string/write"/>
176176 <TextView
177177 android:id="@+id/info_write_perm"
178178 android:layout_width="match_parent"
@@ -189,7 +189,7 @@
189189 android:textColor="@color/white"
190190 android:gravity="left"
191191 android:textAppearance="?android:attr/textAppearanceMedium"
192- android:text="Execute: "/>
192+ android:text="@string/execute"/>
193193 <TextView
194194 android:id="@+id/info_execute_perm"
195195 android:layout_width="match_parent"
@@ -200,4 +200,4 @@
200200 </TableRow>
201201 </TableLayout>
202202 </ScrollView>
203-</LinearLayout>
\ No newline at end of file
203+</LinearLayout>
--- a/res/layout/search_grid.xml
+++ b/res/layout/search_grid.xml
@@ -46,11 +46,11 @@
4646 android:layout_width="match_parent"
4747 android:layout_height="wrap_content"
4848 android:visibility="invisible"
49- android:text="Launch this file"/>
49+ android:text="@string/search_button_open_text"/>
5050 <Button
5151 android:id="@+id/search_button_go"
5252 android:layout_width="match_parent"
5353 android:layout_height="wrap_content"
54- android:text="Go to this file"/>
54+ android:text="@string/search_button_go_text"/>
5555 </LinearLayout>
56-</LinearLayout>
\ No newline at end of file
56+</LinearLayout>
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2,4 +2,16 @@
22 <resources>
33 <string name="app_name">Open Manager</string>
44 <string name="search">Search</string>
5+ <string name="bt_title_text">Bluetooth Transfer</string>
6+ <string name="bt_button_text">start bluetooth</string>
7+ <string name="num_of_folders">Number of folders: </string>
8+ <string name="num_of_files">Number of files: </string>
9+ <string name="last_modified">Last Modified: </string>
10+ <string name="total_size">Total size: </string>
11+ <string name="file_permissions">File Permissions: </string>
12+ <string name="read">Read: </string>
13+ <string name="write">Write: </string>
14+ <string name="execute">Execute: </string>
15+ <string name="search_button_open_text">Launch this file</string>
16+ <string name="search_button_go_text">Go to this file</string>
517 </resources>
Show on old repository browser