updated translations

This commit is contained in:
gdlbo
2023-06-14 17:36:34 +03:00
parent e78d08fb94
commit 486026b8aa
6 changed files with 23 additions and 4 deletions
@@ -19658,6 +19658,9 @@ public final class R {
public static final int vkx_integration_enabled_info = 0x7f12188a; // 2131892362
public static final int whitelisted_ad_groups_stories_title = 0x7f12188b; // 2131892363
public static final int writebar_ios_title = 0x7f12188c; // 2131892364
public static final int cache_size = 0x7f12188d; // 2131892365
public static final int cache_size_summ = 0x7f12188e; // 2131892366
public static final int clear_all_cache = 0x7f12188f; // 2131892367
}
public static final class style {
@@ -79,12 +79,12 @@ public class DataSettingsFragment extends TrackedMaterialPreferenceToolbarFragme
PreferenceFragmentUtils.addPreference(
getPreferenceScreen(),
"currcache",
"Размер приложения",
"Вес кеша приложения: " + CacheUtils.humanReadableByteCountBin(IOUtils.getDirSize(AndroidUtils.getGlobalContext().getCacheDir())),
getString(com.vtosters.lite.R.string.cache_size),
getString(com.vtosters.lite.R.string.cache_size_summ) + ": " + CacheUtils.humanReadableByteCountBin(IOUtils.getDirSize(AndroidUtils.getGlobalContext().getCacheDir())),
null,
preference -> {
new VkAlertDialog.Builder(requireContext())
.setTitle("Очистить весь кеш?")
.setTitle(getString(com.vtosters.lite.R.string.clear_all_cache))
.setPositiveButton(requireContext().getString(com.vtosters.lite.R.string.yes), (dialogInterface, i) -> {
new WebView(requireContext()).clearCache(true);
VKImageLoader.e();
@@ -297,7 +297,7 @@ public class DataSettingsFragment extends TrackedMaterialPreferenceToolbarFragme
}
private void updateCacheSize() {
findPreference("currcache").setSummary("Вес кеша приложения: " + CacheUtils.humanReadableByteCountBin(IOUtils.getDirSize(AndroidUtils.getGlobalContext().getCacheDir())));
findPreference("currcache").setSummary(getString(com.vtosters.lite.R.string.cache_size_summ) + ": " + CacheUtils.humanReadableByteCountBin(IOUtils.getDirSize(AndroidUtils.getGlobalContext().getCacheDir())));
}
@SuppressLint({"CommitPrefEdits", "SetTextI18n"})
+4
View File
@@ -7025,4 +7025,8 @@
<string name="compression_types">Спосаб кампрэсіі фота</string>
<string name="compression_types_selection">Выберыце спосаб кампрэсіі</string>
<string name="clear_all_cache">Ачысціць ўвесь кэш?</string>
<string name="cache_size">Памер прыкладання</string>
<string name="cache_size_summ">Вага кэша прыкладання</string>
</resources>
+4
View File
@@ -6407,4 +6407,8 @@
<string name="compression_types">Способ компрессии фото</string>
<string name="compression_types_selection">Выберите способ компрессии</string>
<string name="clear_all_cache">Очистить весь кеш?</string>
<string name="cache_size">Размер приложения</string>
<string name="cache_size_summ">Вес кеша приложения</string>
</resources>
+4
View File
@@ -6332,4 +6332,8 @@
<string name="compression_types">Спосіб компресії фото</string>
<string name="compression_types_selection">Виберіть спосіб компресії</string>
<string name="clear_all_cache">Очистити весь кеш?</string>
<string name="cache_size">Розмір програми</string>
<string name="cache_size_summ">Вага кеша додатки</string>
</resources>
+4
View File
@@ -6545,4 +6545,8 @@ May look like a fake leaving the online"</string>
<string name="compression_types">Photo compression method</string>
<string name="compression_types_selection">Choose the compression method</string>
<string name="clear_all_cache">Clear all cache?</string>
<string name="cache_size">App size</string>
<string name="cache_size_summ">Cache size</string>
</resources>