]> git.ktnx.net Git - mobile-ledger.git/commitdiff
some translations
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 19 Jan 2019 19:09:38 +0000 (19:09 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 19 Jan 2019 19:09:38 +0000 (19:09 +0000)
app/src/main/res/layout/profile_detail.xml
app/src/main/res/layout/profile_list_content.xml
app/src/main/res/values-bg/strings.xml
app/src/main/res/values/strings.xml

index 39eeb50de22657a7259f2527cde4be624e382e38..952d7a66f6ed34f809691532d10ee5059e6b0e44 100644 (file)
@@ -35,7 +35,7 @@
         <TextView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:text="Profile name" />
+            android:text="@string/profile_name_label" />
 
         <EditText
             android:id="@+id/profile_name"
@@ -43,7 +43,8 @@
             android:layout_height="wrap_content"
             android:ems="10"
             android:inputType="textPersonName"
-            android:text="Name" />
+            android:text="Name"
+            tools:ignore="HardcodedText" />
     </LinearLayout>
 
     <LinearLayout
@@ -55,7 +56,7 @@
         <TextView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:text="URL" />
+            android:text="@string/url_label" />
 
         <EditText
             android:id="@+id/url"
@@ -63,7 +64,7 @@
             android:layout_height="wrap_content"
             android:ems="10"
             android:inputType="textUri"
-            android:text="https://server/url" />
+            android:text="@string/pref_default_backend_url" />
     </LinearLayout>
 
     <LinearLayout
index b26967ea17f48d4d7d07471ef34782d9563e86c4..178a9871298b74141a76730bec94d57c13575c32 100644 (file)
@@ -59,8 +59,7 @@
         android:text="Profile name"
         app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
         app:layout_constraintStart_toEndOf="@id/profile_list_radio"
-        app:layout_constraintTop_toTopOf="parent"
-        tools:ignore="HardcodedText" />
+        app:layout_constraintTop_toTopOf="parent" />
 
     <TextView
         android:id="@+id/subtitle"
index d74ae6509aa39dc67c0c8208c926a34c550de5d0..291e7cd26dbde045905272143364e7cd476e2a05 100644 (file)
@@ -79,5 +79,8 @@
         <item>Ноември</item>
         <item>Декември</item>
     </string-array>
+    <string name="error_invalid_date">Грешна дата</string>
+    <string name="url_label">Адрес</string>
+    <string name="profile_name_label">Име на профила</string>
 
 </resources>
\ No newline at end of file
index 68b5254d9dd28753c6b1285b21e6724678bb3a82..471f1f7c59cb451cb2cbcab719273c5aee3efa59 100644 (file)
@@ -36,7 +36,7 @@
     <string name="pref_description_use_http_auth_off">Use plain HTTP without authentication when connecting to the backend</string>
 
     <string name="pref_title_backend_url">Backend URL</string>
-    <string name="pref_default_backend_url">https://server/loc</string>
+    <string name="pref_default_backend_url" translatable="false">https://server/loc</string>
 
     <!-- Example settings for Data & Sync -->
     <string name="pref_title_sync_frequency">Sync frequency</string>
     <string name="delete_profile">Delete profile</string>
     <string name="delete">Delete</string>
     <string name="error_invalid_date">Invalid date</string>
+    <string name="profile_name_label">Profile name</string>
+    <string name="url_label">URL</string>
     <string-array name="month_names">
         <item>January</item>
         <item>February</item>