Update the SMS formatting helper user/mrpeters-isl/sms_helper
authorMichael Peters <mrpeters@library.in.gov>
Tue, 2 Oct 2012 18:26:56 +0000 (14:26 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Tue, 2 Oct 2012 18:41:50 +0000 (14:41 -0400)
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 <mrpeters@library.in.gov>
18 files changed:
Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2
build/i18n/po/tpac/ar-AR.po
build/i18n/po/tpac/cs-CZ.po
build/i18n/po/tpac/de-DE.po
build/i18n/po/tpac/en-CA.po
build/i18n/po/tpac/en-GB.po
build/i18n/po/tpac/es-ES.po
build/i18n/po/tpac/fr-CA.po
build/i18n/po/tpac/he-IL.po
build/i18n/po/tpac/hu-HU.po
build/i18n/po/tpac/hy-AM.po
build/i18n/po/tpac/oc-FR.po
build/i18n/po/tpac/pt-BR.po
build/i18n/po/tpac/ru-RU.po
build/i18n/po/tpac/sv-SE.po
build/i18n/po/tpac/tpac.pot
build/i18n/po/tpac/tr-TR.po

index fcd9f47..e351a3d 100644 (file)
@@ -62,7 +62,7 @@
                     [% setting = 'opac.default_sms_notify' %]
                     <input name='[% setting %]' type="text"
                         [% IF ctx.user_setting_map.$setting; %] value='[% ctx.user_setting_map.$setting | html %]' [% END %]/>
-                    [% 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.'); %]
                 </td>
             </tr>
             [% END %]
index e8d7eb8..535ebcc 100644 (file)
@@ -1,4 +1,4 @@
 [% IF NOT sms_number_hide_label; l('Mobile number:'); END; %]
 <input type="text" name="sms_notify" [% setting = 'opac.default_sms_notify';
 IF ctx.user_setting_map.$setting; %] value='[% ctx.user_setting_map.$setting | html %]' [% 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; %]
index 2b0d8af..e019762 100644 (file)
@@ -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
index d0ea3d5..e474280 100644 (file)
@@ -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"
index 7122868..79ec9e5 100644 (file)
@@ -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
index 1655506..0f7398d 100644 (file)
@@ -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"
index df17411..6b91825 100644 (file)
@@ -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"
index 2b0d8af..e019762 100644 (file)
@@ -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
index aebae94..1672fe7 100644 (file)
@@ -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"
index 2b0d8af..e019762 100644 (file)
@@ -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
index 2b0d8af..e019762 100644 (file)
@@ -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
index 2b0d8af..e019762 100644 (file)
@@ -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
index 2b0d8af..e019762 100644 (file)
@@ -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
index 946cf2a..0b3f1a1 100644 (file)
@@ -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
index 2b0d8af..e019762 100644 (file)
@@ -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
index 2b0d8af..e019762 100644 (file)
@@ -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
index 8b569d2..9bf0765 100644 (file)
@@ -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
index 08c8789..09936f6 100644 (file)
@@ -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