Commit e4d86058 authored by Thomas's avatar Thomas
Browse files

Add Silesian in picker

parent 6346c9cb
Pipeline #310166 passed with stage
in 3 minutes and 31 seconds
Added:
- 100 Mb of cache for videos (can be changed in settings)
- Bibliogram support (default: disabled)
- Ouiches support for audio
- Silesian localization
Changed:
- Closing media
- Smoother settings
- Add Silesian in language picker
Fixed:
- Peertube comments
- Some layout issues
- Some other crashes
\ No newline at end of file
- Some URLs not clickable
- Empty home timeline
\ No newline at end of file
......@@ -2406,6 +2406,10 @@ public class ContentSettingsFragment extends Fragment implements OnRetrieveRemot
editor.putString(Helper.SET_DEFAULT_LOCALE_NEW, "ca");
editor.commit();
break;
case 22:
editor.putString(Helper.SET_DEFAULT_LOCALE_NEW, "szl");
editor.commit();
break;
}
PackageManager packageManager = context.getPackageManager();
......
......@@ -3735,13 +3735,15 @@ public class Helper {
return 20;
case "ca":
return 21;
case "szl":
return 22;
default:
return 0;
}
}
public static String[] getLocales(Context context) {
String[] locale = new String[22];
String[] locale = new String[23];
locale[0] = context.getString(R.string.default_language);
locale[1] = context.getString(R.string.english);
locale[2] = context.getString(R.string.french);
......@@ -3764,6 +3766,7 @@ public class Helper {
locale[19] = context.getString(R.string.norwegian);
locale[20] = context.getString(R.string.kabyle);
locale[21] = context.getString(R.string.catalan);
locale[22] = context.getString(R.string.silesian);
return locale;
}
......
......@@ -681,6 +681,7 @@
<!-- languages not translated -->
<string name="languages">Languages</string>
<string name="english" translatable="false">English</string>
<string name="silesian" translatable="false">ślůnski</string>
<string name="french" translatable="false">Français</string>
<string name="arabic" translatable="false">العربية</string>
<string name="kabyle" translatable="false">Taqbaylit</string>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment