From c5beae673c08bddd09c242b2364b02167e0095ee Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Tue, 2 Oct 2012 14:26:56 -0400 Subject: [PATCH] Update the SMS formatting helper This commit goes hand in hand with working:user/tsbere/sms_munge which attempts to munge various formatting of SMS addresses entered by patrons. This updates the helper beside the input box to include a note that literal aliases are accepted, as well. Signed-off-by: Michael Peters --- Open-ILS/src/templates/opac/myopac/prefs_notify.tt2 | 2 +- Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2 | 2 +- build/i18n/po/tpac/ar-AR.po | 2 +- build/i18n/po/tpac/cs-CZ.po | 2 +- build/i18n/po/tpac/de-DE.po | 2 +- build/i18n/po/tpac/en-CA.po | 4 ++-- build/i18n/po/tpac/en-GB.po | 4 ++-- build/i18n/po/tpac/es-ES.po | 2 +- build/i18n/po/tpac/fr-CA.po | 2 +- build/i18n/po/tpac/he-IL.po | 2 +- build/i18n/po/tpac/hu-HU.po | 2 +- build/i18n/po/tpac/hy-AM.po | 2 +- build/i18n/po/tpac/oc-FR.po | 2 +- build/i18n/po/tpac/pt-BR.po | 2 +- build/i18n/po/tpac/ru-RU.po | 2 +- build/i18n/po/tpac/sv-SE.po | 2 +- build/i18n/po/tpac/tpac.pot | 2 +- build/i18n/po/tpac/tr-TR.po | 2 +- 18 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2 b/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2 index fcd9f47823..e351a3d16d 100644 --- a/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2 +++ b/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2 @@ -62,7 +62,7 @@ [% setting = 'opac.default_sms_notify' %] - [% l('Hint: use the full 10 digits of your phone #, no spaces, no dashes'); %] + [% l('Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered.'); %] [% END %] diff --git a/Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2 b/Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2 index e8d7eb8029..535ebccf6d 100644 --- a/Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2 +++ b/Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2 @@ -1,4 +1,4 @@ [% IF NOT sms_number_hide_label; l('Mobile number:'); END; %] -[% IF NOT sms_number_hide_hint; l('Hint: use the full 10 digits of your phone #, no spaces, no dashes'); END; %] +[% IF NOT sms_number_hide_hint; l('Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered.'); END; %] diff --git a/build/i18n/po/tpac/ar-AR.po b/build/i18n/po/tpac/ar-AR.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/ar-AR.po +++ b/build/i18n/po/tpac/ar-AR.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/cs-CZ.po b/build/i18n/po/tpac/cs-CZ.po index d0ea3d5273..e4742801db 100644 --- a/build/i18n/po/tpac/cs-CZ.po +++ b/build/i18n/po/tpac/cs-CZ.po @@ -940,7 +940,7 @@ msgid "Hide items in list" msgstr "Skrýt položku seznamu" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" "Nápověda: použijte všechny číslice Vašeho telefonního čísla bez mezer nebo " "čárek" diff --git a/build/i18n/po/tpac/de-DE.po b/build/i18n/po/tpac/de-DE.po index 7122868345..79ec9e58f6 100644 --- a/build/i18n/po/tpac/de-DE.po +++ b/build/i18n/po/tpac/de-DE.po @@ -929,7 +929,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/en-CA.po b/build/i18n/po/tpac/en-CA.po index 1655506a17..0f7398d976 100644 --- a/build/i18n/po/tpac/en-CA.po +++ b/build/i18n/po/tpac/en-CA.po @@ -935,8 +935,8 @@ msgid "Hide items in list" msgstr "Hide items in list" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" -msgstr "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." +msgstr "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 msgid "Hold not found" diff --git a/build/i18n/po/tpac/en-GB.po b/build/i18n/po/tpac/en-GB.po index df17411985..6b91825e22 100644 --- a/build/i18n/po/tpac/en-GB.po +++ b/build/i18n/po/tpac/en-GB.po @@ -935,8 +935,8 @@ msgid "Hide items in list" msgstr "Hide items in list" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" -msgstr "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." +msgstr "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 msgid "Hold not found" diff --git a/build/i18n/po/tpac/es-ES.po b/build/i18n/po/tpac/es-ES.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/es-ES.po +++ b/build/i18n/po/tpac/es-ES.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/fr-CA.po b/build/i18n/po/tpac/fr-CA.po index aebae943ad..1672fe78f4 100644 --- a/build/i18n/po/tpac/fr-CA.po +++ b/build/i18n/po/tpac/fr-CA.po @@ -943,7 +943,7 @@ msgid "Hide items in list" msgstr "Cacher les articles de la liste" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" "Conseil: utiliser tout les 10 numéros de votre numéro de téléphone, sans " "espaces ou trait d'unions" diff --git a/build/i18n/po/tpac/he-IL.po b/build/i18n/po/tpac/he-IL.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/he-IL.po +++ b/build/i18n/po/tpac/he-IL.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/hu-HU.po b/build/i18n/po/tpac/hu-HU.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/hu-HU.po +++ b/build/i18n/po/tpac/hu-HU.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/hy-AM.po b/build/i18n/po/tpac/hy-AM.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/hy-AM.po +++ b/build/i18n/po/tpac/hy-AM.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/oc-FR.po b/build/i18n/po/tpac/oc-FR.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/oc-FR.po +++ b/build/i18n/po/tpac/oc-FR.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/pt-BR.po b/build/i18n/po/tpac/pt-BR.po index 946cf2ae14..0b3f1a1b65 100644 --- a/build/i18n/po/tpac/pt-BR.po +++ b/build/i18n/po/tpac/pt-BR.po @@ -944,7 +944,7 @@ msgid "Hide items in list" msgstr "Ocultar itens na lista" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "Dica: Use os 10 dígitos do seu telefone, sem espaços e sem hifens" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/ru-RU.po b/build/i18n/po/tpac/ru-RU.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/ru-RU.po +++ b/build/i18n/po/tpac/ru-RU.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/sv-SE.po b/build/i18n/po/tpac/sv-SE.po index 2b0d8af32c..e01976237b 100644 --- a/build/i18n/po/tpac/sv-SE.po +++ b/build/i18n/po/tpac/sv-SE.po @@ -909,7 +909,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/tpac.pot b/build/i18n/po/tpac/tpac.pot index 8b569d2438..9bf0765f02 100644 --- a/build/i18n/po/tpac/tpac.pot +++ b/build/i18n/po/tpac/tpac.pot @@ -945,7 +945,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 diff --git a/build/i18n/po/tpac/tr-TR.po b/build/i18n/po/tpac/tr-TR.po index 08c878939b..09936f6b12 100644 --- a/build/i18n/po/tpac/tr-TR.po +++ b/build/i18n/po/tpac/tr-TR.po @@ -911,7 +911,7 @@ msgid "Hide items in list" msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/prefs_notify.tt2:65 ../../Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2:4 -msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes" +msgid "Hint: use the full 10 digits of your phone #, no spaces, no dashes, or other punctuation. Aliases are also accepted and will be processed exactly as entered." msgstr "" #: ../../Open-ILS/src/templates/opac/myopac/holds/edit.tt2:110 -- 2.11.0