Mercurial > hg > egg-tcls
comparison config.tj.example @ 639:c11ee9fea4b8
tj: Use new datefmt_short and datefmt_long and fix up/implement rest of the
date delta description logic for miscellaneous messages.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 16 Feb 2021 12:31:17 +0200 |
parents | bc87660aa400 |
children | 4dbad81bfdd9 |
comparison
equal
deleted
inserted
replaced
638:5260156d9521 | 639:c11ee9fea4b8 |
---|---|
67 ### | 67 ### |
68 ### Message texts (informal, errors, etc.) | 68 ### Message texts (informal, errors, etc.) |
69 ### | 69 ### |
70 | 70 |
71 array set tj_messages { | 71 array set tj_messages { |
72 "datefmt" "%d.%m.%Y %H:%M" | 72 "datefmt_long" "%d.%m.%Y %H:%M" |
73 "datefmt_short" "%d.%m.%Y" | |
73 | 74 |
74 "help_full" {"help" "help_set" "help_list" "help_delete"} | 75 "help_full" {"help" "help_set" "help_list" "help_delete"} |
75 "help" "@cmd@ \[#<id>\] \[nimi\]" | 76 "help" "@cmd@ \[#<id>\] \[nimi\]" |
76 "help_set" "@cmd@ set \[#<id>\] <\[-\]päivät \[+/-<tunnit>\] | dd.mm.yyyy \[hh:mm\]> [<kuvaus>]" | 77 "help_set" "@cmd@ set \[#<id>\] <\[-\]päivät \[+/-<tunnit>\] | dd.mm.yyyy \[hh:mm\]> [<kuvaus>]" |
77 "help_list" "@cmd@ list \[nimi\] -- listaa TJ:t (muiden listaus vain admineille)" | 78 "help_list" "@cmd@ list \[nimi\] -- listaa TJ:t (muiden listaus vain admineille)" |
103 "tj_str_minutes" "@1@ minuuttia" | 104 "tj_str_minutes" "@1@ minuuttia" |
104 | 105 |
105 "tj_str_sep" ", " | 106 "tj_str_sep" ", " |
106 "tj_str_sep_last" " ja " | 107 "tj_str_sep_last" " ja " |
107 | 108 |
108 "tj_remaining" "@1@:llä on @3@ jäljellä @2@ (@4@)." | 109 "tj_future" "@1@:llä on @3@ jäljellä @2@ (@4@)." |
109 "tj_past" "@1@ on ollut @2@-reservissä @3@ (@4@)." | 110 "tj_past" "@1@ on ollut @2@-reservissä @3@ (@4@)." |
111 | |
112 "tjs_future" "jäljellä @1@" | |
113 "tjs_past" "kulunut @1@" | |
110 | 114 |
111 "tj_not_set" "@1@:n @2@-TJ:tä ei ole asetettu." | 115 "tj_not_set" "@1@:n @2@-TJ:tä ei ole asetettu." |
112 } | 116 } |