Crowdin translation.
This commit is contained in:
parent
e0595957e2
commit
0051ed2e73
4
.gitignore
vendored
4
.gitignore
vendored
@ -214,4 +214,6 @@ gradle-app.setting
|
||||
|
||||
# End of https://www.gitignore.io/api/java,gradle,android,androidstudio
|
||||
|
||||
release/
|
||||
release/
|
||||
|
||||
crowdin.properties
|
@ -1,3 +1,9 @@
|
||||
**1.5.3.01/02**
|
||||
|
||||
- Added translation link to the settings page.
|
||||
|
||||
- Added the translation link to the README.
|
||||
|
||||
**1.5.3.00**
|
||||
|
||||
- (BETA) Added pull from bottom to load more pages of results. May be buggy.
|
||||
|
@ -58,6 +58,7 @@ android {
|
||||
buildConfigField "String", "FEEDBACK_EMAIL", feedbackEmail
|
||||
buildConfigField "String", "SOURCE_URL", sourceUrl
|
||||
buildConfigField "String", "TRACKER_URL", trackerUrl
|
||||
buildConfigField "String", "TRANSLATION_URL", translationUrl
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
@ -204,6 +205,7 @@ def initAppForSecretPropertiesIfNeeded() {
|
||||
entry(key: "feedbackEmail", value: System.getProperty("feedbackEmail"))
|
||||
entry(key: "sourceUrl", value: System.getProperty("sourceUrl"))
|
||||
entry(key: "trackerUrl", value: System.getProperty("trackerUrl"))
|
||||
entry(key: "translationUrl", value: System.getProperty("translationUrl"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -255,6 +255,14 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
findPreference("translation").setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
openUrl(Uri.parse(BuildConfig.TRANSLATION_URL));
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -151,4 +151,5 @@
|
||||
<string name="login_everything_off">Aucun appel à l\'API ne sera logué</string>
|
||||
<string name="login_everything_on">Tous les appels à l\'API vont êtres logués</string>
|
||||
<string name="pref_general_infinite_loading_title">(BETA) Charger plus d\'articles au scroll</string>
|
||||
<string name="translation">Traduction</string>
|
||||
</resources>
|
@ -152,4 +152,5 @@
|
||||
<string name="login_everything_off">No api call will be logged</string>
|
||||
<string name="login_everything_on">This will log every api call for debug purpose.</string>
|
||||
<string name="pref_general_infinite_loading_title">(BETA) Load more articles on scroll</string>
|
||||
<string name="translation">Vertaling</string>
|
||||
</resources>
|
@ -154,4 +154,5 @@
|
||||
<string name="login_everything_on">This will log every api call for debug purpose.</string>
|
||||
<string name="login_everything_off">No api call will be logged</string>
|
||||
<string name="pref_general_infinite_loading_title">(BETA) Load more articles on scroll</string>
|
||||
<string name="translation">Translation</string>
|
||||
</resources>
|
@ -7,4 +7,7 @@
|
||||
|
||||
<Preference android:title="@string/source_code"
|
||||
android:key="sourceLink" />
|
||||
|
||||
<Preference android:title="@string/translation"
|
||||
android:key="translation" />
|
||||
</PreferenceScreen>
|
@ -7,7 +7,7 @@ buildscript {
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.0.0-beta5'
|
||||
classpath 'com.android.tools.build:gradle:3.0.0-beta6'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
Loading…
Reference in New Issue
Block a user