Skip to content

Conversation

@dbrant
Copy link
Collaborator

@dbrant dbrant commented Aug 26, 2018

String literals are being used in many places in the code, instead of proper string resources which are automatically localized. This PR replaces many of the string literals with pre-packaged resources, or will add the appropriate string if necessary.

String literals are being used in many places in the code, instead of
proper string resources which are automatically localized. This PR
replaces many of the string literals with pre-packaged resources, or will
add the appropriate string if necessary.
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@355c4f5). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #1861   +/-   ##
========================================
  Coverage          ?   3.61%           
========================================
  Files             ?     192           
  Lines             ?    9842           
  Branches          ?     871           
========================================
  Hits              ?     356           
  Misses            ?    9460           
  Partials          ?      26
Impacted Files Coverage Δ
...a/fr/free/nrw/commons/quiz/QuizResultActivity.java 0% <0%> (ø)
...e/nrw/commons/category/CategorizationFragment.java 0% <0%> (ø)
...explore/recentsearches/RecentSearchesFragment.java 0% <0%> (ø)
...ava/fr/free/nrw/commons/nearby/NearbyActivity.java 0% <0%> (ø)
...mmons/contributions/ContributionsListFragment.java 0% <0%> (ø)
...ain/java/fr/free/nrw/commons/quiz/QuizChecker.java 0% <0%> (ø)
...nrw/commons/achievements/AchievementsActivity.java 0% <0%> (ø)
.../java/fr/free/nrw/commons/nearby/DirectUpload.java 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 355c4f5...e808957. Read the comment docs.

@misaochan
Copy link
Member

Thanks!

@misaochan misaochan merged commit e945d45 into commons-app:master Aug 27, 2018
ilgazer pushed a commit to ilgazer/apps-android-commons that referenced this pull request Sep 9, 2018
String literals are being used in many places in the code, instead of
proper string resources which are automatically localized. This PR
replaces many of the string literals with pre-packaged resources, or will
add the appropriate string if necessary.
dbrant added a commit to dbrant/apps-android-commons that referenced this pull request Sep 9, 2018
String literals are being used in many places in the code, instead of
proper string resources which are automatically localized. This PR
replaces many of the string literals with pre-packaged resources, or will
add the appropriate string if necessary.
neslihanturan pushed a commit that referenced this pull request Sep 11, 2018
* Sweeping update of gradle and library versions.

This updates all of the dependencies of the project to their latest
versions. Everyone should please upgrade to the latest version of Android
Studio, update your build tools, and keep your version of Gradle and the
Kotlin plugin up to date.

* Update build tools in travis.

* Remove cruft and fix tests.

* Remove even more stuff.

* Reinstate instrumented tests.

* Update emulator image in travis.

* Localisation updates from https://translatewiki.net.

* Work towards eliminating string literals from code. (#1861)

String literals are being used in many places in the code, instead of
proper string resources which are automatically localized. This PR
replaces many of the string literals with pre-packaged resources, or will
add the appropriate string if necessary.

* Add button on image details to copy wikicode to clipboard (#1849)

* Add button on image details to copy wikicode to clipboard

* Make copy wikicode button width the same as the nominate deletion button width by filling in background

* Build fix

* Enable ProGuard for Debug and Release builds.

This enables ProGuard minification, which significantly shrinks the APK
(for both debug and release configurations) and vastly decreases the
method count.

* Add ProGuard rules for test builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants