forked from github/wulkanowy-mirror
separate locales (avoid future conflicts) + rewrite github actions
This commit is contained in:
parent
f99df4ad46
commit
8eb65196cb
35
.github/workflows/android.yml
vendored
35
.github/workflows/android.yml
vendored
@ -4,9 +4,6 @@ env:
|
||||
# The name of the main module repository
|
||||
main_project_module: app
|
||||
|
||||
# The name of the Play Store
|
||||
playstore_name: Frogobox ID
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@ -41,45 +38,13 @@ jobs:
|
||||
- name: Change wrapper permissions
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
# Run Tests Build
|
||||
- name: Run gradle tests
|
||||
run: ./gradlew test
|
||||
|
||||
# Run Build Project
|
||||
- name: Build gradle project
|
||||
run: ./gradlew build
|
||||
|
||||
# Create APK Debug
|
||||
- name: Build apk debug project (APK) - ${{ env.main_project_module }} module
|
||||
run: ./gradlew assembleDebug
|
||||
|
||||
# Create APK Release
|
||||
- name: Build apk release project (APK) - ${{ env.main_project_module }} module
|
||||
run: ./gradlew assemble
|
||||
|
||||
# Create Bundle AAB Release
|
||||
# Noted for main module build [main_project_module]:bundleRelease
|
||||
- name: Build app bundle release (AAB) - ${{ env.main_project_module }} module
|
||||
run: ./gradlew ${{ env.main_project_module }}:bundleRelease
|
||||
|
||||
# Upload Artifact Build
|
||||
# Noted For Output [main_project_module]/build/outputs/apk/debug/
|
||||
- name: Upload APK Debug - ${{ env.repository_name }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) debug generated
|
||||
path: ${{ env.main_project_module }}/build/outputs/apk/debug/
|
||||
|
||||
# Noted For Output [main_project_module]/build/outputs/apk/release/
|
||||
- name: Upload APK Release - ${{ env.repository_name }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) release generated
|
||||
path: ${{ env.main_project_module }}/build/outputs/apk/release/
|
||||
|
||||
# Noted For Output [main_project_module]/build/outputs/bundle/release/
|
||||
- name: Upload AAB (App Bundle) Release - ${{ env.repository_name }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - App bundle(s) AAB release generated
|
||||
path: ${{ env.main_project_module }}/build/outputs/bundle/release/
|
79
.github/workflows/deploy-store.yml
vendored
79
.github/workflows/deploy-store.yml
vendored
@ -1,79 +0,0 @@
|
||||
name: Deploy release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [ created ]
|
||||
|
||||
jobs:
|
||||
|
||||
deploy-google-play:
|
||||
name: Google Play
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
environment: google-play
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Decrypt keys
|
||||
env:
|
||||
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}
|
||||
SERVICES_ENCRYPT_KEY: ${{ secrets.SERVICES_ENCRYPT_KEY }}
|
||||
run: |
|
||||
gpg --yes --batch --passphrase=$SERVICES_ENCRYPT_KEY ./app/src/release/google-services.json.gpg
|
||||
gpg --yes --batch --passphrase=$ENCRYPT_KEY ./app/upload-key.jks.gpg
|
||||
- name: Upload apk to google play
|
||||
env:
|
||||
PLAY_STORE_PASSWORD: ${{ secrets.PLAY_STORE_PASSWORD }}
|
||||
PLAY_KEY_ALIAS: ${{ secrets.PLAY_KEY_ALIAS }}
|
||||
PLAY_KEY_PASSWORD: ${{ secrets.PLAY_KEY_PASSWORD }}
|
||||
ANDROID_PUBLISHER_CREDENTIALS: ${{ secrets.ANDROID_PUBLISHER_CREDENTIALS }}
|
||||
ADMOB_PROJECT_ID: ${{ secrets.ADMOB_PROJECT_ID }}
|
||||
SINGLE_SUPPORT_AD_ID: ${{ secrets.SINGLE_SUPPORT_AD_ID }}
|
||||
DASHBOARD_TILE_AD_ID: ${{ secrets.DASHBOARD_TILE_AD_ID }}
|
||||
SET_BUILD_TIMESTAMP: ${{ secrets.SET_BUILD_TIMESTAMP }}
|
||||
run: ./gradlew publishPlayReleaseApps --stacktrace;
|
||||
|
||||
deploy-app-gallery:
|
||||
name: AppGallery
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
environment: app-gallery
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Decrypt keys
|
||||
env:
|
||||
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}
|
||||
SERVICES_ENCRYPT_KEY: ${{ secrets.SERVICES_ENCRYPT_KEY }}
|
||||
run: |
|
||||
gpg --yes --batch --passphrase=$SERVICES_ENCRYPT_KEY ./app/src/release/agconnect-services.json.gpg
|
||||
gpg --yes --batch --passphrase=$ENCRYPT_KEY ./app/upload-key.jks.gpg
|
||||
- name: Prepare credentials
|
||||
env:
|
||||
AGC_CREDENTIALS: ${{ secrets.AGC_CREDENTIALS }}
|
||||
run: echo $AGC_CREDENTIALS > ./app/src/release/agconnect-credentials.json
|
||||
- name: Build and publish HMS version
|
||||
env:
|
||||
PLAY_STORE_PASSWORD: ${{ secrets.PLAY_STORE_PASSWORD }}
|
||||
PLAY_KEY_ALIAS: ${{ secrets.PLAY_KEY_ALIAS }}
|
||||
PLAY_KEY_PASSWORD: ${{ secrets.PLAY_KEY_PASSWORD }}
|
||||
SET_BUILD_TIMESTAMP: ${{ secrets.SET_BUILD_TIMESTAMP }}
|
||||
run: ./gradlew bundleHmsRelease --stacktrace && ./gradlew publishHuaweiAppGalleryHmsRelease --stacktrace
|
145
.github/workflows/deploy-test.yml
vendored
145
.github/workflows/deploy-test.yml
vendored
@ -1,145 +0,0 @@
|
||||
name: Deploy DEV
|
||||
|
||||
on:
|
||||
push:
|
||||
# branches: [ develop ]
|
||||
branches: [ '!*' ]
|
||||
pull_request_target:
|
||||
# branches: [ develop ]
|
||||
branches: [ '!*' ]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
deploy-appcenter:
|
||||
name: App Center
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
environment: app-center
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Set run number with offset
|
||||
env:
|
||||
BUILD_NUMBER_OFFSET: ${{ secrets.BUILD_NUMBER_OFFSET }}
|
||||
run: echo "RUN_NUMBER=$((GITHUB_RUN_NUMBER+BUILD_NUMBER_OFFSET))" >> $GITHUB_ENV
|
||||
- name: Prepare build configuration
|
||||
run: |
|
||||
sed -i -e "s#applicationIdSuffix \".dev\"#applicationIdSuffix \".${GITHUB_HEAD_REF//[-.\/]/_}\"#" app/build.gradle
|
||||
sed -i -e "s#.dev\"#.${GITHUB_HEAD_REF//[-.\/]/_}\"#" app/google-services.json
|
||||
sed -i -e '/versionNameSuffix/d' app/build.gradle
|
||||
- name: Add signing config
|
||||
run: |
|
||||
cat >> app/build.gradle <<EOF
|
||||
android.signingConfigs.debug {
|
||||
storeFile file("bitrise.jks")
|
||||
storePassword System.getenv("BITRISE_KEYSTORE_PASSWORD")
|
||||
keyAlias System.getenv("BITRISE_KEY_ALIAS")
|
||||
keyPassword System.getenv("BITRISE_KEY_PASSWORD")
|
||||
}
|
||||
EOF
|
||||
- name: Decrypt keys
|
||||
env:
|
||||
BITRISE_ENCRYPT_KEY: ${{ secrets.BITRISE_ENCRYPT_KEY }}
|
||||
run: |
|
||||
gpg --yes --batch --passphrase=$BITRISE_ENCRYPT_KEY ./app/bitrise.jks.gpg
|
||||
- name: Bump version
|
||||
uses: chkfung/android-version-actions@v1.1
|
||||
with:
|
||||
gradlePath: app/build.gradle
|
||||
versionCode: ${{ env.RUN_NUMBER }}
|
||||
versionName: ${{ env.RUN_NUMBER }}-${{ github.head_ref }}
|
||||
- name: Build apk
|
||||
env:
|
||||
BITRISE_KEYSTORE_PASSWORD: ${{ secrets.BITRISE_KEYSTORE_PASSWORD }}
|
||||
BITRISE_KEY_ALIAS: ${{ secrets.BITRISE_KEY_ALIAS }}
|
||||
BITRISE_KEY_PASSWORD: ${{ secrets.BITRISE_KEY_PASSWORD }}
|
||||
run: ./gradlew assembleFdroidDebug --stacktrace
|
||||
- name: Upload apk to github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: wulkanowyDEV-${{ env.RUN_NUMBER }}.apk
|
||||
path: app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk
|
||||
- name: Deploy to app center
|
||||
uses: wzieba/AppCenter-Github-Action@v1
|
||||
with:
|
||||
appName: wulkanowy/wulkanowy
|
||||
token: ${{ secrets.APP_CENTER_TOKEN }}
|
||||
group: Testers
|
||||
file: app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk
|
||||
notifyTesters: true
|
||||
debug: true
|
||||
|
||||
deploy-app-distribution:
|
||||
name: App Distribution
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
environment: app-distribution
|
||||
if: github.event_name != 'pull_request_target'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Set run number with offset
|
||||
env:
|
||||
BUILD_NUMBER_OFFSET: ${{ secrets.BUILD_NUMBER_OFFSET }}
|
||||
run: echo "RUN_NUMBER=$((GITHUB_RUN_NUMBER+BUILD_NUMBER_OFFSET))" >> $GITHUB_ENV
|
||||
- name: Add signing config
|
||||
run: |
|
||||
cat >> app/build.gradle <<EOF
|
||||
android.signingConfigs.debug {
|
||||
storeFile file("bitrise.jks")
|
||||
storePassword System.getenv("BITRISE_KEYSTORE_PASSWORD")
|
||||
keyAlias System.getenv("BITRISE_KEY_ALIAS")
|
||||
keyPassword System.getenv("BITRISE_KEY_PASSWORD")
|
||||
}
|
||||
EOF
|
||||
- name: Decrypt keys
|
||||
env:
|
||||
BITRISE_ENCRYPT_KEY: ${{ secrets.BITRISE_ENCRYPT_KEY }}
|
||||
BITRISE_SERVICES_ENCRYPT_KEY: ${{ secrets.BITRISE_SERVICES_ENCRYPT_KEY }}
|
||||
run: |
|
||||
gpg --yes --batch --passphrase=$BITRISE_SERVICES_ENCRYPT_KEY ./app/src/debug/google-services.json.gpg
|
||||
gpg --yes --batch --passphrase=$BITRISE_ENCRYPT_KEY ./app/bitrise.jks.gpg
|
||||
- name: Bump version
|
||||
uses: chkfung/android-version-actions@v1.1
|
||||
with:
|
||||
gradlePath: app/build.gradle
|
||||
versionCode: ${{ env.RUN_NUMBER }}
|
||||
versionName: ${{ env.RUN_NUMBER }}
|
||||
- name: Build apk
|
||||
env:
|
||||
BITRISE_KEYSTORE_PASSWORD: ${{ secrets.BITRISE_KEYSTORE_PASSWORD }}
|
||||
BITRISE_KEY_ALIAS: ${{ secrets.BITRISE_KEY_ALIAS }}
|
||||
BITRISE_KEY_PASSWORD: ${{ secrets.BITRISE_KEY_PASSWORD }}
|
||||
run: ./gradlew assemblePlayDebug --stacktrace
|
||||
- name: Upload apk to github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: wulkanowyDEV-${{ env.RUN_NUMBER }}-dev.apk
|
||||
path: app/build/outputs/apk/play/debug/app-play-debug.apk
|
||||
- name: Deploy to app distribution
|
||||
uses: wzieba/Firebase-Distribution-Github-Action@v1
|
||||
with:
|
||||
appId: ${{ secrets.FIREBASE_APP_ID }}
|
||||
token: ${{ secrets.FIREBASE_TOKEN }}
|
||||
groups: discord
|
||||
file: app/build/outputs/apk/play/debug/app-play-debug.apk
|
90
.github/workflows/test.yml
vendored
90
.github/workflows/test.yml
vendored
@ -1,90 +0,0 @@
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- 'hotfix/**'
|
||||
tags: [ '*' ]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
||||
tests-fdroid:
|
||||
name: F-Droid
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: fkirc/skip-duplicate-actions@master
|
||||
- uses: actions/checkout@v3
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Unit tests
|
||||
run: |
|
||||
./gradlew testFdroidDebugUnitTest --stacktrace
|
||||
./gradlew jacocoTestReport --stacktrace
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: unit
|
||||
|
||||
tests-play:
|
||||
name: Play
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: fkirc/skip-duplicate-actions@master
|
||||
- uses: actions/checkout@v3
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Unit tests
|
||||
run: |
|
||||
./gradlew testPlayDebugUnitTest --stacktrace
|
||||
./gradlew jacocoTestReport --stacktrace
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: unit
|
||||
|
||||
tests-hms:
|
||||
name: HMS
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: fkirc/skip-duplicate-actions@master
|
||||
- uses: actions/checkout@v3
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Unit tests
|
||||
run: |
|
||||
./gradlew testHmsDebugUnitTest --stacktrace
|
||||
./gradlew jacocoTestReport --stacktrace
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: unit
|
@ -112,7 +112,7 @@ class MoreFragment : BaseFragment<FragmentMoreBinding>(R.layout.fragment_more),
|
||||
val selectedItemsState = grades.map { grade -> hiddenGrades.any { it == grade } }
|
||||
|
||||
MaterialAlertDialogBuilder(requireContext())
|
||||
.setTitle(R.string.pref_hidden_settings_bad_grades_title)
|
||||
.setTitle(R.string.pref_hidden_settings_hide_grades_title)
|
||||
.setMultiChoiceItems(grades, selectedItemsState.toBooleanArray()) { _, _, _ -> }
|
||||
.setPositiveButton(android.R.string.ok) { dialog, _ ->
|
||||
val selectedState = (dialog as AlertDialog).listView.checkedItemPositions
|
||||
@ -163,7 +163,7 @@ class MoreFragment : BaseFragment<FragmentMoreBinding>(R.layout.fragment_more),
|
||||
presenter.onHiddenSettingsSelected(selectedValues, inputAttendancePercentage)
|
||||
}
|
||||
.setNegativeButton(android.R.string.cancel) { _, _ -> }
|
||||
.setNeutralButton(R.string.pref_hidden_settings_bad_grades_title) { _, _ -> showGradeDialog() }
|
||||
.setNeutralButton(R.string.pref_hidden_settings_hide_grades_title) { _, _ -> showGradeDialog() }
|
||||
.show()
|
||||
}
|
||||
|
||||
|
12
app/src/main/res/values-cs/mod_values.xml
Normal file
12
app/src/main/res/values-cs/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Skrytá nastavení</string>
|
||||
<string name="pref_hidden_settings_hint">Procento docházky</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Skrýt známky</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Špatná účast</item>
|
||||
<item>Poznámky</item>
|
||||
<item>Falešná účast</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -67,10 +67,4 @@
|
||||
<item>Zkoušky</item>
|
||||
<item>Setkání</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Špatná účast</item>
|
||||
<item>Poznámky</item>
|
||||
<item>Falešná účast</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
12
app/src/main/res/values-da-rDK/mod_values.xml
Normal file
12
app/src/main/res/values-da-rDK/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_hidden_settings_hint">Attendance percentage</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Hide grades</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Bad attendance</item>
|
||||
<item>Notes</item>
|
||||
<item>Fake attendance</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -687,7 +687,6 @@
|
||||
<string name="pref_grades_appearance_header">Grades</string>
|
||||
<string name="pref_dashboard_appearance_header">Dashboard</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Tiles visibility</string>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_attendance_appearance_view">Attendance</string>
|
||||
<string name="pref_timetable_appearance_view">Timetable</string>
|
||||
<string name="pref_grades_advanced_header">Grades</string>
|
||||
|
12
app/src/main/res/values-de/mod_values.xml
Normal file
12
app/src/main/res/values-de/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Geheime Einstellungen</string>
|
||||
<string name="pref_hidden_settings_hint">Prozentuale Erwartung</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Hide Grades</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Schlechte Anwesenheit</item>
|
||||
<item>Notizen</item>
|
||||
<item>Vorgetäuschte 100-prozentige Anwesenheit</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -67,9 +67,4 @@
|
||||
<item>Prüfungen</item>
|
||||
<item>Sitzungen</item>
|
||||
</string-array>
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Schlechte Anwesenheit</item>
|
||||
<item>Notizen</item>
|
||||
<item>Vorgetäuschte 100-prozentige Anwesenheit</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
@ -710,7 +710,6 @@
|
||||
<string name="pref_grades_appearance_header">Noten</string>
|
||||
<string name="pref_dashboard_appearance_header">Dashboard</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Sichtbarkeit der Kacheln</string>
|
||||
<string name="pref_hidden_settings_title">Geheime Einstellungen</string>
|
||||
<string name="pref_attendance_appearance_view">Schulbesuch</string>
|
||||
<string name="pref_timetable_appearance_view">Stundenplan</string>
|
||||
<string name="pref_grades_advanced_header">Noten</string>
|
||||
|
12
app/src/main/res/values-es-rES/mod_values.xml
Normal file
12
app/src/main/res/values-es-rES/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_hidden_settings_hint">Attendance percentage</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Hide grades</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Bad attendance</item>
|
||||
<item>Notes</item>
|
||||
<item>Fake attendance</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -687,7 +687,6 @@
|
||||
<string name="pref_grades_appearance_header">Grades</string>
|
||||
<string name="pref_dashboard_appearance_header">Dashboard</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Tiles visibility</string>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_attendance_appearance_view">Attendance</string>
|
||||
<string name="pref_timetable_appearance_view">Timetable</string>
|
||||
<string name="pref_grades_advanced_header">Grades</string>
|
||||
|
12
app/src/main/res/values-it-rIT/mod_values.xml
Normal file
12
app/src/main/res/values-it-rIT/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_hidden_settings_hint">Attendance percentage</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Hide grades</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Bad attendance</item>
|
||||
<item>Notes</item>
|
||||
<item>Fake attendance</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -687,7 +687,6 @@
|
||||
<string name="pref_grades_appearance_header">Grades</string>
|
||||
<string name="pref_dashboard_appearance_header">Dashboard</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Tiles visibility</string>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_attendance_appearance_view">Attendance</string>
|
||||
<string name="pref_timetable_appearance_view">Timetable</string>
|
||||
<string name="pref_grades_advanced_header">Grades</string>
|
||||
|
12
app/src/main/res/values-pl/mod_values.xml
Normal file
12
app/src/main/res/values-pl/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Sekretne ustawienia</string>
|
||||
<string name="pref_hidden_settings_hint">Procent frekwencji</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Ukryj oceny</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Słaba frekwencja</item>
|
||||
<item>Uwagi</item>
|
||||
<item>Fałszywa frekwencja</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -67,9 +67,4 @@
|
||||
<item>Sprawdziany</item>
|
||||
<item>Zebrania</item>
|
||||
</string-array>
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Słaba frekwencja</item>
|
||||
<item>Uwagi</item>
|
||||
<item>Fałszywa frekwencja</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
@ -804,7 +804,6 @@
|
||||
<string name="pref_grades_appearance_header">Oceny</string>
|
||||
<string name="pref_dashboard_appearance_header">Start</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Widoczność kafelków</string>
|
||||
<string name="pref_hidden_settings_title">Sekretne ustawienia</string>
|
||||
<string name="pref_attendance_appearance_view">Frekwencja</string>
|
||||
<string name="pref_timetable_appearance_view">Plan lekcji</string>
|
||||
<string name="pref_grades_advanced_header">Oceny</string>
|
||||
|
12
app/src/main/res/values-ru/mod_values.xml
Normal file
12
app/src/main/res/values-ru/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Секретные настройки</string>
|
||||
<string name="pref_hidden_settings_hint">Процент посещаемости</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Скрыть оценки</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Плохая посещаемость</item>
|
||||
<item>Примечания</item>
|
||||
<item>Фейковая посещаемость</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -67,9 +67,4 @@
|
||||
<item>Тесты</item>
|
||||
<item>Встречи</item>
|
||||
</string-array>
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Плохая посещаемость</item>
|
||||
<item>Примечания</item>
|
||||
<item>Фейковая посещаемость</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
@ -804,7 +804,6 @@
|
||||
<string name="pref_grades_appearance_header">Оценки</string>
|
||||
<string name="pref_dashboard_appearance_header">Главная</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Видимость плиток</string>
|
||||
<string name="pref_hidden_settings_title">Секретные настройки</string>
|
||||
<string name="pref_attendance_appearance_view">Посещаемость</string>
|
||||
<string name="pref_timetable_appearance_view">Расписание</string>
|
||||
<string name="pref_grades_advanced_header">Оценки</string>
|
||||
|
12
app/src/main/res/values-sk/mod_values.xml
Normal file
12
app/src/main/res/values-sk/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Skryté nastavenia</string>
|
||||
<string name="pref_hidden_settings_hint">Percento dochádzky</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Skryť známky</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Zlá účasť</item>
|
||||
<item>Poznámky</item>
|
||||
<item>Falošná účasť</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -67,9 +67,4 @@
|
||||
<item>Skúšky</item>
|
||||
<item>Stretnutie</item>
|
||||
</string-array>
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Zlá účasť</item>
|
||||
<item>Poznámky</item>
|
||||
<item>Falošná účasť</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
12
app/src/main/res/values-uk/mod_values.xml
Normal file
12
app/src/main/res/values-uk/mod_values.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Секретні налаштування</string>
|
||||
<string name="pref_hidden_settings_hint">Відсоток відвідуваності</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Приховати оцінки</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Погана відвідуваність</item>
|
||||
<item>Примітки</item>
|
||||
<item>Фальшива явка</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -67,9 +67,4 @@
|
||||
<item>Тести</item>
|
||||
<item>Зустрічі</item>
|
||||
</string-array>
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Погана відвідуваність</item>
|
||||
<item>Примітки</item>
|
||||
<item>Фальшива явка</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
@ -804,7 +804,6 @@
|
||||
<string name="pref_grades_appearance_header">Оцінки</string>
|
||||
<string name="pref_dashboard_appearance_header">Головна</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Видимість плиток</string>
|
||||
<string name="pref_hidden_settings_title">Секретні налаштування</string>
|
||||
<string name="pref_attendance_appearance_view">Відвідуваність</string>
|
||||
<string name="pref_timetable_appearance_view">Розклад</string>
|
||||
<string name="pref_grades_advanced_header">Оцінки</string>
|
||||
|
@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="hidden_settings_bad_grades">
|
||||
<item>1</item>
|
||||
<item>1+</item>
|
||||
<item>2-</item>
|
||||
<item>2</item>
|
||||
<item>2+</item>
|
||||
<item>3-</item>
|
||||
<item>3</item>
|
||||
<item>3+</item>
|
||||
<item>4-</item>
|
||||
<item>4</item>
|
||||
<item>4+</item>
|
||||
<item>5-</item>
|
||||
<item>5</item>
|
||||
<item>5+</item>
|
||||
<item>6</item>
|
||||
<item>6-</item>
|
||||
</string-array>
|
||||
<string-array name="pref_default_hidden_grades">
|
||||
<item>1</item>
|
||||
<item>1+</item>
|
||||
<item>2-</item>
|
||||
<item>2</item>
|
||||
<item>2+</item>
|
||||
</string-array>
|
||||
</resources>
|
46
app/src/main/res/values/mod_values.xml
Normal file
46
app/src/main/res/values/mod_values.xml
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_hidden_settings_hint">Attendance percentage</string>
|
||||
<string name="pref_key_attendance_percentage" translatable="false">attendance_percentage</string>
|
||||
<string name="pref_hidden_settings_hide_grades_title">Hide grades</string>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Bad attendance</item>
|
||||
<item>Notes</item>
|
||||
<item>Fake attendance</item>
|
||||
</string-array>
|
||||
<string-array name="hidden_settings_values" translatable="false">
|
||||
<item>BAD_ATTENDANCE</item>
|
||||
<item>NOTES</item>
|
||||
<item>ATTENDANCE</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="hidden_settings_bad_grades" translatable="false">
|
||||
<item>1</item>
|
||||
<item>1+</item>
|
||||
<item>2-</item>
|
||||
<item>2</item>
|
||||
<item>2+</item>
|
||||
<item>3-</item>
|
||||
<item>3</item>
|
||||
<item>3+</item>
|
||||
<item>4-</item>
|
||||
<item>4</item>
|
||||
<item>4+</item>
|
||||
<item>5-</item>
|
||||
<item>5</item>
|
||||
<item>5+</item>
|
||||
<item>6</item>
|
||||
<item>6-</item>
|
||||
<item>nb</item>
|
||||
<item>0</item>
|
||||
</string-array>
|
||||
<string-array name="pref_default_hidden_grades" translatable="false">
|
||||
<item>1</item>
|
||||
<item>1+</item>
|
||||
<item>2-</item>
|
||||
<item>2</item>
|
||||
<item>2+</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -174,15 +174,4 @@
|
||||
<item>EXAMS</item>
|
||||
<item>CONFERENCES</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="hidden_settings_entries">
|
||||
<item>Bad attendance</item>
|
||||
<item>Notes</item>
|
||||
<item>Fake attendance</item>
|
||||
</string-array>
|
||||
<string-array name="hidden_settings_values" translatable="false">
|
||||
<item>BAD_ATTENDANCE</item>
|
||||
<item>NOTES</item>
|
||||
<item>ATTENDANCE</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
@ -791,7 +791,6 @@
|
||||
<string name="pref_grades_appearance_header">Grades</string>
|
||||
<string name="pref_dashboard_appearance_header">Dashboard</string>
|
||||
<string name="pref_dashboard_appearance_tiles_title">Tiles visibility</string>
|
||||
<string name="pref_hidden_settings_title">Hidden settings</string>
|
||||
<string name="pref_attendance_appearance_view">Attendance</string>
|
||||
<string name="pref_timetable_appearance_view">Timetable</string>
|
||||
<string name="pref_grades_advanced_header">Grades</string>
|
||||
@ -879,9 +878,6 @@
|
||||
<string name="error_feature_disabled">Feature disabled by your school</string>
|
||||
<string name="error_feature_not_available">Feature not available. Login in a mode other than Mobile API</string>
|
||||
<string name="error_field_required">This field is required</string>
|
||||
<string name="pref_hidden_settings_hint">Attendance percentage</string>
|
||||
<string name="pref_key_attendance_percentage">attendance_percentage</string>
|
||||
<string name="pref_hidden_settings_bad_grades_title">Bad grades</string>
|
||||
|
||||
<!-- Mute system -->
|
||||
<string name="message_mute">Mute</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user