1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Added texts

This commit is contained in:
M66B 2019-05-03 07:28:36 +02:00
parent b3345815a7
commit cc8d2a102a
4 changed files with 16 additions and 3 deletions

View file

@ -58,7 +58,7 @@ public class FragmentAnswer extends FragmentBase {
@Override
@Nullable
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
setSubtitle(R.string.menu_answers);
setSubtitle(R.string.title_answer_caption);
view = (ViewGroup) inflater.inflate(R.layout.fragment_answer, container, false);

View file

@ -122,7 +122,7 @@ public class FragmentRule extends FragmentBase {
@Override
@Nullable
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
setSubtitle(R.string.title_edit_rules);
setSubtitle(R.string.title_rule_caption);
view = (ViewGroup) inflater.inflate(R.layout.fragment_rule, container, false);

View file

@ -21,14 +21,24 @@
android:layout_height="wrap_content"
android:padding="12dp">
<TextView
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_rule_title"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvFolder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="Inbox"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
<TextView
android:id="@+id/tvName"

View file

@ -491,6 +491,7 @@
<string name="title_previous">Previous</string>
<string name="title_next">Next</string>
<string name="title_answer_caption">Edit template</string>
<string name="title_answer_reply">Reply template</string>
<string name="title_answer_name">Template name</string>
<string name="title_answer_hide">Hide from menus</string>
@ -498,6 +499,8 @@
<string name="title_answer_template_name">$name$ will be replaced by the sender full name</string>
<string name="title_answer_template_email">$email$ will be replaced by the sender email address</string>
<string name="title_rule_caption">Edit rule</string>
<string name="title_rule_title">Rule applies to</string>
<string name="title_rule_name">Name</string>
<string name="title_rule_order">Order</string>
<string name="title_rule_enabled">Enabled</string>