浏览代码

Renaming confussing token

David A. Velasco 12 年之前
父节点
当前提交
a7ee15e023
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 1
      res/values/strings.xml
  2. 1 1
      src/com/owncloud/android/ui/fragment/FileDetailFragment.java

+ 2 - 1
res/values/strings.xml

@@ -74,7 +74,8 @@
     <string name="filedetails_created">Created:</string>
     <string name="filedetails_created">Created:</string>
     <string name="filedetails_modified">Modified:</string>
     <string name="filedetails_modified">Modified:</string>
     <string name="filedetails_download">Download</string>
     <string name="filedetails_download">Download</string>
-	<string name="filedetails_redownload">Refresh</string>
+    <string name="filedetails_sync_file">Refresh</string>
+	<string name="filedetails_redownload">Redownload</string>
     <string name="filedetails_open">Open</string>
     <string name="filedetails_open">Open</string>
     <string name="common_yes">Yes</string>
     <string name="common_yes">Yes</string>
     <string name="common_no">No</string>
     <string name="common_no">No</string>

+ 1 - 1
src/com/owncloud/android/ui/fragment/FileDetailFragment.java

@@ -583,7 +583,7 @@ public class FileDetailFragment extends SherlockFragment implements
     private void setButtonsForDown() {
     private void setButtonsForDown() {
         if (!isEmpty()) {
         if (!isEmpty()) {
             Button downloadButton = (Button) getView().findViewById(R.id.fdDownloadBtn);
             Button downloadButton = (Button) getView().findViewById(R.id.fdDownloadBtn);
-            downloadButton.setText(R.string.filedetails_redownload);
+            downloadButton.setText(R.string.filedetails_sync_file);
             //downloadButton.setEnabled(true);
             //downloadButton.setEnabled(true);
         
         
             ((Button) getView().findViewById(R.id.fdOpenBtn)).setEnabled(true);
             ((Button) getView().findViewById(R.id.fdOpenBtn)).setEnabled(true);