diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-21 12:35:49 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-21 12:35:49 -0700 |
commit | 49b9c772aecce5c40cda4295c4c3880729c65861 (patch) | |
tree | 4083e53c8fb148d59e80e2d687b5fde6f2ba4acd /library/src/main | |
parent | 372c5da8d09ff9928f937c4288b3f92351a576da (diff) | |
download | kau-49b9c772aecce5c40cda4295c4c3880729c65861.tar.gz kau-49b9c772aecce5c40cda4295c4c3880729c65861.tar.bz2 kau-49b9c772aecce5c40cda4295c4c3880729c65861.zip |
More strings
Diffstat (limited to 'library/src/main')
-rw-r--r-- | library/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt | 2 | ||||
-rw-r--r-- | library/src/main/res/values/strings_commons.xml | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/library/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt b/library/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt index ed3b928..d58f99c 100644 --- a/library/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt +++ b/library/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt @@ -68,7 +68,7 @@ class EmailBuilder(@StringRes val emailId: Int, @StringRes val subjectId: Int) { if (pairs.isNotEmpty()) emailBuilder.append("\n") pairs.forEach { k, v -> emailBuilder.append("$k: $v\n") } - + if (footer != null) emailBuilder.append("\n").append(footer) diff --git a/library/src/main/res/values/strings_commons.xml b/library/src/main/res/values/strings_commons.xml index 2198564..1bbca44 100644 --- a/library/src/main/res/values/strings_commons.xml +++ b/library/src/main/res/values/strings_commons.xml @@ -4,6 +4,7 @@ Most resources are verbatim and x represents a formatted item --> <resources> + <string name="kau_add_account">Add Account</string> <string name="kau_amoled" translatable="false">AMOLED</string> <string name="kau_back">Back</string> <string name="kau_cancel">Cancel</string> @@ -19,17 +20,26 @@ Most resources are verbatim and x represents a formatted item <string name="kau_exit">Exit</string> <string name="kau_exit_confirmation">Are you sure you want to exit?</string> <string name="kau_exit_confirmation_x">Are you sure you want to exit %s?</string> + <string name="kau_glass">Glass</string> <string name="kau_great">Great</string> <string name="kau_light">Light</string> <string name="kau_login">Login</string> <string name="kau_logout">Logout</string> + <string name="kau_logout_confirm_as_x">Are you sure you want to log out as %s?</string> <string name="kau_lorem_ipsum" translatable="false">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</string> + <string name="kau_manage_account">Manage Account</string> <string name="kau_maybe">Maybe</string> + <string name="kau_menu">Menu</string> <string name="kau_no">No</string> <string name="kau_none">None</string> <string name="kau_ok">@android:string/ok</string> + <string name="kau_one_day">1 day</string> + <string name="kau_one_hour">1 hour</string> <string name="kau_report_bug">Report A Bug</string> <string name="kau_send_feedback">Send Feedback</string> <string name="kau_settings">Settings</string> + <string name="kau_x_days">%d days</string> + <string name="kau_x_hours">%d hours</string> + <string name="kau_x_minutes">%d minutes</string> <string name="kau_yes">Yes</string> </resources> |