diff 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
line wrap: on
line diff
--- a/config.tj.example	Tue Feb 16 12:30:07 2021 +0200
+++ b/config.tj.example	Tue Feb 16 12:31:17 2021 +0200
@@ -69,7 +69,8 @@
 ###
 
 array set tj_messages {
-  "datefmt" "%d.%m.%Y %H:%M"
+  "datefmt_long" "%d.%m.%Y %H:%M"
+  "datefmt_short" "%d.%m.%Y"
 
   "help_full" {"help" "help_set" "help_list" "help_delete"}
   "help" "@cmd@ \[#<id>\] \[nimi\]"
@@ -105,8 +106,11 @@
   "tj_str_sep" ", "
   "tj_str_sep_last" " ja "
 
-  "tj_remaining" "@1@:llä on @3@ jäljellä @2@ (@4@)."
+  "tj_future" "@1@:llä on @3@ jäljellä @2@ (@4@)."
   "tj_past" "@1@ on ollut @2@-reservissä @3@ (@4@)."
 
+  "tjs_future" "jäljellä @1@"
+  "tjs_past" "kulunut @1@"
+
   "tj_not_set" "@1@:n @2@-TJ:tä ei ole asetettu."
 }