
committed by
Mikołaj Pich

parent
533637d32a
commit
2f24b25399
@ -134,6 +134,7 @@
|
||||
<string name="pref_view_summary">Pokazuj podsumowanie w ocenach</string>
|
||||
<string name="pref_view_present">Pokazuj obecność we frekwencji</string>
|
||||
<string name="pref_view_theme_dark">Ciemny motyw (Beta)</string>
|
||||
<string name="pref_view_grade_modifier">Wartość plusa i minusa</string>
|
||||
|
||||
<string name="pref_notify_header">Powiadomienia</string>
|
||||
<string name="pref_notify_switch">Pokazuj powiadomienia</string>
|
||||
|
@ -15,4 +15,10 @@
|
||||
<item>Automatyczny</item>
|
||||
<item>Używaj ustawień systemowych</item>
|
||||
</string-array>
|
||||
<string-array name="grade_modifier_entries">
|
||||
<item>Domyślna</item>
|
||||
<item>0,25</item>
|
||||
<item>0,33</item>
|
||||
<item>0,5</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
@ -7,4 +7,5 @@
|
||||
<string name="pref_key_services_interval">services_interval</string>
|
||||
<string name="pref_key_services_wifi_only">services_disable_wifi_only</string>
|
||||
<string name="pref_key_notifications_enable">notifications_enable</string>
|
||||
<string name="pref_key_grade_modifier">grade_modifier</string>
|
||||
</resources>
|
||||
|
@ -127,6 +127,7 @@
|
||||
<string name="pref_view_summary">Show the summary in the grades</string>
|
||||
<string name="pref_view_present">Show presence in attendance</string>
|
||||
<string name="pref_view_theme_dark">Dark theme (Beta)</string>
|
||||
<string name="pref_view_grade_modifier">Value of the plus and minus</string>
|
||||
|
||||
<string name="pref_notify_header">Notifications</string>
|
||||
<string name="pref_notify_switch">Show notifications</string>
|
||||
|
@ -44,4 +44,17 @@
|
||||
<item>720</item>
|
||||
<item>1440</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="grade_modifier_entries">
|
||||
<item>Default</item>
|
||||
<item>0,25</item>
|
||||
<item>0,33</item>
|
||||
<item>0,5</item>
|
||||
</string-array>
|
||||
<string-array name="grade_modifier_value" translatable="false">
|
||||
<item>0.0</item>
|
||||
<item>0.25</item>
|
||||
<item>0.33</item>
|
||||
<item>0.5</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
@ -25,6 +25,14 @@
|
||||
android:key="@string/pref_key_attendance_present"
|
||||
android:title="@string/pref_view_present"
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
android:defaultValue="0.0"
|
||||
android:entries="@array/grade_modifier_entries"
|
||||
android:entryValues="@array/grade_modifier_value"
|
||||
android:key="@string/pref_key_grade_modifier"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_view_grade_modifier"
|
||||
app:iconSpaceReserved="false" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_services_header"
|
||||
|
Reference in New Issue
Block a user