Add proper strings for archive operations

This commit is contained in:
Ensar Sarajčić 2023-07-12 10:37:20 +02:00
parent 47861f605d
commit 7dbd6c5d9f
61 changed files with 693 additions and 70 deletions

View file

@ -11,7 +11,7 @@
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/color_primary"
app:title="Archived messages"
app:title="@string/archived_conversations"
app:titleTextAppearance="@style/AppTheme.ActionBar.TitleTextStyle" />
<RelativeLayout
@ -55,7 +55,7 @@
android:gravity="center"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:text="@string/no_conversations_found"
android:text="@string/no_archived_conversations"
android:textSize="@dimen/bigger_text_size"
android:textStyle="italic"
android:visibility="gone" />

View file

@ -347,52 +347,52 @@
layout="@layout/divider" />
<TextView
android:id="@+id/settings_recycle_bin_label"
android:id="@+id/settings_archive_label"
style="@style/SettingsSectionLabelStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/recycle_bin" />
android:text="@string/archived_conversations" />
<RelativeLayout
android:id="@+id/settings_use_recycle_bin_holder"
android:id="@+id/settings_use_archive_holder"
style="@style/SettingsHolderCheckboxStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/settings_use_recycle_bin"
android:id="@+id/settings_use_archive"
style="@style/SettingsCheckboxStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/move_items_into_recycle_bin" />
android:text="@string/archive_instead_of_delete" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_empty_recycle_bin_holder"
android:id="@+id/settings_empty_archive_holder"
style="@style/SettingsHolderTextViewStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_empty_recycle_bin_label"
android:id="@+id/settings_empty_archive_label"
style="@style/SettingsTextLabelStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/empty_recycle_bin" />
android:text="@string/empty_archive" />
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_empty_recycle_bin_size"
android:id="@+id/settings_empty_archive_size"
style="@style/SettingsTextValueStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/settings_empty_recycle_bin_label"
android:layout_below="@+id/settings_empty_archive_label"
tools:text="0 B" />
</RelativeLayout>
<include
android:id="@+id/settings_recycle_bin_divider"
android:id="@+id/settings_archive_divider"
layout="@layout/divider" />
<TextView

View file

@ -13,14 +13,14 @@
android:layout_height="wrap_content"
android:paddingStart="@dimen/small_margin"
android:paddingBottom="@dimen/activity_margin"
android:text="@string/delete_whole_conversation_confirmation"
android:text="@string/archive_whole_conversation_confirmation"
android:textSize="@dimen/bigger_text_size" />
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/skip_the_recycle_bin_checkbox"
android:id="@+id/skip_the_archive_checkbox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/delete_remember_title"
android:text="@string/skip_the_recycle_bin" />
android:text="@string/skip_archive" />
</RelativeLayout>