OSDN Git Service

fix untranslated strings error
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 8 Nov 2011 03:33:36 +0000 (11:33 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 8 Nov 2011 03:33:36 +0000 (11:33 +0800)
res/layout/bluetooth_layout.xml
res/layout/info_layout.xml
res/layout/search_grid.xml
res/values/strings.xml

index e360e10..0c7a98e 100644 (file)
@@ -36,7 +36,7 @@
                        android:layout_height="wrap_content"
                        android:layout_width="match_parent"
                        android:layout_gravity="center"
-                       android:text="Bluetooth Transfer"
+                       android:text="@string/bt_title_text"
                        android:textAppearance="?android:attr/textAppearanceLarge" />
        </LinearLayout>
        
@@ -52,7 +52,7 @@
                android:layout_width="match_parent"
                android:layout_marginTop="15dip"
                android:gravity="center"
-               android:text="start bluetooth" />
+               android:text="@string/bt_button_text" />
        <GridView
                        android:id="@+id/bt_gridview"
                        android:layout_width="match_parent"
@@ -64,4 +64,4 @@
                        android:stretchMode="columnWidth"
                        android:gravity="center"/>
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
index 69fde9c..d4b34fb 100644 (file)
@@ -77,7 +77,7 @@
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="Number of folders: "/>
+                                               android:text="@string/num_of_folders"/>
                                        <TextView
                                                android:id="@+id/info_dirs_label"
                                                android:layout_width="fill_parent"
@@ -94,7 +94,7 @@
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="Number of files: "/>
+                                               android:text="@string/num_of_files"/>
                                        <TextView
                                                android:id="@+id/info_files_label"
                                                android:layout_width="match_parent"
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="Last Modified: "/>
+                                               android:text="@string/last_modified"/>
                                        <TextView
                                                android:id="@+id/info_time_stamp"
                                                android:layout_width="match_parent"
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="Total size: "/>
+                                               android:text="@string/total_size"/>
                                        <TextView
                                                android:id="@+id/info_total_size"
                                                android:layout_width="match_parent"
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="File Permissions: "/>
+                                               android:text="@string/file_permissions"/>
                                </TableRow>
                                <TableRow>
                                        <TextView
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="Read: "/>
+                                               android:text="@string/read"/>
                                        <TextView
                                                android:id="@+id/info_read_perm"
                                                android:layout_width="match_parent"
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="Write: "/>
+                                               android:text="@string/write"/>
                                        <TextView
                                                android:id="@+id/info_write_perm"
                                                android:layout_width="match_parent"
                                                android:textColor="@color/white"
                                                android:gravity="left"
                                                android:textAppearance="?android:attr/textAppearanceMedium"
-                                               android:text="Execute: "/>
+                                               android:text="@string/execute"/>
                                        <TextView
                                                android:id="@+id/info_execute_perm"
                                                android:layout_width="match_parent"
                                </TableRow>
                        </TableLayout>
        </ScrollView>
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
index 1dd353a..7b50754 100644 (file)
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:visibility="invisible"
-                       android:text="Launch this file"/>
+                       android:text="@string/search_button_open_text"/>
                <Button
                        android:id="@+id/search_button_go"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
-                       android:text="Go to this file"/>
+                       android:text="@string/search_button_go_text"/>
        </LinearLayout>
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
index a9ee69c..d9fd1fd 100644 (file)
@@ -2,4 +2,16 @@
 <resources>
     <string name="app_name">Open Manager</string>
     <string name="search">Search</string>
+    <string name="bt_title_text">Bluetooth Transfer</string>
+    <string name="bt_button_text">start bluetooth</string>
+    <string name="num_of_folders">Number of folders: </string>
+    <string name="num_of_files">Number of files: </string>
+    <string name="last_modified">Last Modified: </string>
+    <string name="total_size">Total size: </string>
+    <string name="file_permissions">File Permissions: </string>
+    <string name="read">Read: </string>
+    <string name="write">Write: </string>
+    <string name="execute">Execute: </string>
+    <string name="search_button_open_text">Launch this file</string>
+    <string name="search_button_go_text">Go to this file</string>
 </resources>