add bg language
This commit is contained in:
parent
9bd7363dbf
commit
ce7439bc00
5 changed files with 15 additions and 0 deletions
3
app/fabric.properties
Normal file
3
app/fabric.properties
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#Contains API Secret used to validate your application. Commit to internal source control; avoid making secret public.
|
||||||
|
#Sun Jul 03 14:29:18 CEST 2016
|
||||||
|
apiSecret=93ce8127162f8349a34eb7cd0756fe123ca8e971c50151906ea06ef38133cc34
|
|
@ -146,6 +146,11 @@ public class MainActivity extends AppCompatActivity {
|
||||||
recreate();
|
recreate();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case R.id.bg_lang: {
|
||||||
|
LocaleHelper.setLocale(this, "bg");
|
||||||
|
recreate();
|
||||||
|
break;
|
||||||
|
}
|
||||||
case R.id.nav_export: {
|
case R.id.nav_export: {
|
||||||
ImportExportPrefs.verifyStoragePermissions(this);
|
ImportExportPrefs.verifyStoragePermissions(this);
|
||||||
ImportExportPrefs.exportSharedPreferences(this);
|
ImportExportPrefs.exportSharedPreferences(this);
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
<item
|
<item
|
||||||
android:id="@+id/de_lang"
|
android:id="@+id/de_lang"
|
||||||
android:title="@string/de_lang" />
|
android:title="@string/de_lang" />
|
||||||
|
<item
|
||||||
|
android:id="@+id/bg_lang"
|
||||||
|
android:title="@string/bg_lang" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/nav_exit"
|
android:id="@+id/nav_exit"
|
||||||
android:title="@string/nav_exit" />
|
android:title="@string/nav_exit" />
|
||||||
|
|
3
app/src/main/res/values-bg/strings.xml
Normal file
3
app/src/main/res/values-bg/strings.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
</resources>
|
|
@ -225,5 +225,6 @@
|
||||||
<string name="openapsma_maxiob_summary">Maximum amount of non-bolus IOB OpenAPS can deliver</string>
|
<string name="openapsma_maxiob_summary">Maximum amount of non-bolus IOB OpenAPS can deliver</string>
|
||||||
<string name="openapsma_maxbasal_title">Max Basal</string>
|
<string name="openapsma_maxbasal_title">Max Basal</string>
|
||||||
<string name="openapsma_maxbasaliob_title">Max Basal IOB</string>
|
<string name="openapsma_maxbasaliob_title">Max Basal IOB</string>
|
||||||
|
<string name="bg_lang">Bulgarian</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue