Merge pull request #1768 from aceman444/patch-2

Downloding typo on strings.xml
This commit is contained in:
vshcherb 2015-10-03 18:26:28 +03:00
commit 09ed2a051d
2 changed files with 2 additions and 2 deletions

View file

@ -1997,7 +1997,7 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
<string name="unsaved_changes_will_be_lost">Any unsaved changes will be lost. Continue?</string>
<string name="downloads_left_template">%1$s downloads left</string>
<string name="roads">Roads</string>
<string name="downloading_number_of_fiels">Downloding - %1$d file</string>
<string name="downloading_number_of_files">Downloading - %1$d file</string>
<string name="show_free_version_banner">Show free version banner</string>
<string name="show_free_version_banner_description">Even if you have paid version you still can see free version banner</string>
</resources>

View file

@ -125,7 +125,7 @@ public final class DownloadsUiHelper {
downloadProgressLayout.setVisibility(View.VISIBLE);
}
progressBar.setProgress(progressPercentage);
final String format = resources.getString(R.string.downloading_number_of_fiels);
final String format = resources.getString(R.string.downloading_number_of_files);
String numberOfTasks = String.format(format, activeTasks);
leftTextView.setText(numberOfTasks);
rightTextView.setText(progressPercentage + "%");