From 44d7736e67c0541f518320bb127d4063c7d5e4af Mon Sep 17 00:00:00 2001 From: Greg Ross Date: Mon, 9 Jul 2018 14:49:38 -0400 Subject: [PATCH] Minor text cleanups and translation support. (#259) * Minor text cleanups. * Add support for translation of strings. And one additional minor tweak to a string. --- templates/main.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/main.php b/templates/main.php index c66223b..04587e0 100644 --- a/templates/main.php +++ b/templates/main.php @@ -26,35 +26,35 @@ use \OCA\OcSms\Lib\CountryCodes;
-
+
- Invalid message limit + t('Invalid message limit'));?>
-
+
- + - +
- +
@@ -72,7 +72,7 @@ use \OCA\OcSms\Lib\CountryCodes;
{{ selectedContact.label }}
{{ selectedContact.opt_numbers }}
-
{{ messages.length }} message(s) shown. {{ totalMessageCount }} message(s) stored in database.
+
t('%s message(s) shown of %s message(s) stored in database.', array( '{{ messages.length }}', '{{ totalMessageCount }}')));?>
@@ -80,7 +80,7 @@ use \OCA\OcSms\Lib\CountryCodes;
-
Please choose a conversation on the left menu
+
t('Please select a conversation from the list to load it.'));?>