mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-26 04:35:50 +01:00
Fix SwitchBar string translation
This commit is contained in:
parent
1602d1b632
commit
cddf2972bc
@ -72,7 +72,7 @@ public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedC
|
||||
if (SDK_INT > Build.VERSION_CODES.JELLY_BEAN) {
|
||||
mTextView.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
|
||||
}
|
||||
mLabel = getResources().getString(R.string.v7_preference_off);
|
||||
mLabel = getResources().getString(R.string.abc_capital_off);
|
||||
mSummarySpan = new TextAppearanceSpan(context, android.support.v7.appcompat.R.style.TextAppearance_AppCompat_Widget_Switch);
|
||||
updateText();
|
||||
|
||||
@ -99,7 +99,7 @@ public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedC
|
||||
|
||||
public void setTextViewLabel(boolean isChecked) {
|
||||
mLabel = getResources()
|
||||
.getString(isChecked ? R.string.v7_preference_on : R.string.v7_preference_off);
|
||||
.getString(isChecked ? R.string.abc_capital_on : R.string.abc_capital_off);
|
||||
updateText();
|
||||
}
|
||||
|
||||
|
@ -24,4 +24,5 @@
|
||||
<string name="self_check_cat_permissions">Дозволе одобрене</string>
|
||||
<string name="self_check_name_permission">Дозволе за %1$s:</string>
|
||||
<string name="self_check_resolution_permission">Тапните овде да одобрите дозволе за %1$s. Не одобравање дозвола може да резултира чудним понашањем апликација.</string>
|
||||
|
||||
</resources>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2013-2016 microG Project Team
|
||||
~ Copyright 2013-2017 microG Project Team
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
|
Loading…
Reference in New Issue
Block a user