From 9e86abf745c27e276e029448b7152f011d9ca320 Mon Sep 17 00:00:00 2001 From: Martinez Date: Sat, 5 Dec 2015 10:36:49 +0100 Subject: [PATCH] distribute the en_OV locale --- en_OV | 155 ++++++++++++++++++++++++++++++++++++++++ over-prompt-9999.ebuild | 8 ++- 2 files changed, 160 insertions(+), 3 deletions(-) create mode 100644 en_OV diff --git a/en_OV b/en_OV new file mode 100644 index 0000000..9669df7 --- /dev/null +++ b/en_OV @@ -0,0 +1,155 @@ +escape_char / +comment_char % + +LC_IDENTIFICATION +title "Overwatch English locale" +source "" +address "" +contact "" +email "" +tel "" +fax "" +language "English" +territory "Tellus" +revision "1.0" +date "2015-10-04" +% +category "en_OV:2000";LC_IDENTIFICATION +category "en_OV:2000";LC_CTYPE +category "en_OV:2000";LC_COLLATE +category "en_OV:2000";LC_TIME +category "en_OV:2000";LC_NUMERIC +category "en_OV:2000";LC_MONETARY +category "en_OV:2000";LC_MESSAGES +category "en_OV:2000";LC_PAPER +category "en_OV:2000";LC_NAME +category "en_OV:2000";LC_ADDRESS +category "en_OV:2000";LC_TELEPHONE +category "en_OV:2000";LC_MEASUREMENT +END LC_IDENTIFICATION + +LC_CTYPE +copy "en_GB" +END LC_CTYPE + +LC_COLLATE + +% Copy the template from ISO/IEC 14651 +copy "iso14651_t1" + +END LC_COLLATE + +LC_MONETARY +int_curr_symbol "BTC " +currency_symbol "" +mon_decimal_point "." +mon_thousands_sep " " +mon_grouping 3;3 +positive_sign "" +negative_sign "-" +int_frac_digits 2 +frac_digits 2 +p_cs_precedes 1 +int_p_sep_by_space 1 +p_sep_by_space 0 +n_cs_precedes 1 +int_n_sep_by_space 1 +n_sep_by_space 0 +p_sign_posn 1 +n_sign_posn 1 +% +END LC_MONETARY + +LC_NUMERIC +decimal_point "." +thousands_sep " " +grouping 3;3 +END LC_NUMERIC + +LC_TIME +abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat" +day "Sunday";"Monday";"Tuesday";"Wednesday";"Thursday";"Friday";"Saturday" + +week 7;19971130;7 +first_weekday 2 +first_workday 2 +abmon "Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec" +mon "January";"February";"March";"April";"May";"June";"July";"August";"September";"October";"November";"December" + +% Appropriate date and time representation (%c) +d_t_fmt "%a %Y-%m-%d %H:%M:%S %z" +% +% Appropriate date representation (%x) +d_fmt "%Y-%m-%d" +% +% Appropriate time representation (%X) +t_fmt "%H:%M:%S" +% +% Appropriate AM/PM time representation (%r) +% "%I:%M:%S %p" +t_fmt_ampm "" +% +% Strings for AM/PM +% +am_pm "";"" +% +% Appropriate date representation (date(1)) "%a %b %e %H:%M:%S %Z %Y" +date_fmt "%a %Y-%m-%d %H:%M:%S %z" +END LC_TIME + +LC_MESSAGES +yesexpr "" +noexpr "" +yesstr "" +nostr "" +END LC_MESSAGES + +LC_PAPER +height 297 +width 210 +END LC_PAPER + +LC_NAME +name_fmt "" +name_miss "" +name_mr "" +name_mrs "" +name_ms "" +END LC_NAME + + +LC_ADDRESS +postal_fmt "/ +/ +/ +/ +" +country_name "" +country_post "" +country_ab2 "" +country_ab3 "" +country_num 840 +% USA +country_car "" +country_isbn 0 +% English +lang_name "" +% en +lang_ab "" +% eng +lang_term "" +% eng +lang_lib "" +END LC_ADDRESS + +LC_TELEPHONE +tel_int_fmt "" +tel_dom_fmt "" +int_select "" +int_prefix "" +END LC_TELEPHONE + +LC_MEASUREMENT +% metric +measurement 1 +END LC_MEASUREMENT diff --git a/over-prompt-9999.ebuild b/over-prompt-9999.ebuild index 7deb069..3d218df 100644 --- a/over-prompt-9999.ebuild +++ b/over-prompt-9999.ebuild @@ -25,12 +25,14 @@ src_install() { insinto /usr/share/${PN} insopts -m755 doins data - doins *-init + doins zsh-init + + insinto /usr/share/i18n/locales/ + doins en_OV } pkg_postinst() { - einfo "Source the appropriate /usr/share/${PN}/*-init" - einfo "(depending on which shell you're running) to enable the prompt." + einfo "Source /usr/share/${PN}/zsh-init to enable the prompt." einfo "If you wish, write the following into /etc/over/prompt.cfg:" einfo "" einfo "export OVER_PROMPT_OPTS=\"A B C\""