diff options
author | Bastien Guerry <bzg@altern.org> | 2011-03-17 11:22:00 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-03-17 11:22:00 +0100 |
commit | 5a351a23e82c9d05fd2b33c403b4b3dc9b435b98 (patch) | |
tree | 1cb820db67ddfb23fd9918f2fd70ee28b5aabd5f | |
parent | 58e351efbf1c6af30bcdc176ac7befc9b324d8ec (diff) | |
download | org-mode-5a351a23e82c9d05fd2b33c403b4b3dc9b435b98.tar.gz |
org-clock.el: localize the "Clock summary at" string.
* org-clock.el (org-clock-clocktable-language-setup): Add a
string.
(org-clocktable-write-default): Use the new localized string
in `org-clock-clocktable-language-setup'.
-rw-r--r-- | lisp/org-clock.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el index cc0e51f..c567a26 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -259,11 +259,12 @@ For more information, see `org-clocktable-write-default'." :group 'org-clocktable :type 'function) +;; FIXME: translate es and nl last string "Clock summary at" (defcustom org-clock-clocktable-language-setup - '(("en" "File" "L" "Timestamp" "Headline" "Time" "ALL" "Total time" "File time") - ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo total" "Tiempo archivo") - ("fr" "Fichier" "N" "Horodatage" "En-tête" "Durée" "TOUT" "Durée totale" "Durée fichier") - ("nl" "Bestand" "N" "Tijdstip" "Hoofding" "Duur" "ALLES" "Totale duur" "Bestandstijd")) + '(("en" "File" "L" "Timestamp" "Headline" "Time" "ALL" "Total time" "File time" "Clock summary at") + ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo total" "Tiempo archivo" "Clock summary at") + ("fr" "Fichier" "N" "Horodatage" "En-tête" "Durée" "TOUT" "Durée totale" "Durée fichier" "Horodatage sommaire à") + ("nl" "Bestand" "N" "Tijdstip" "Hoofding" "Duur" "ALLES" "Totale duur" "Bestandstijd" "Clock summary at")) "Terms used in clocktable, translated to different languages." :group 'org-clocktable :type 'alist) @@ -2099,7 +2100,7 @@ from the dynamic block defintion." (or header ;; Format the standard header (concat - "Clock summary at [" + (nth 9 lwords) " [" (substring (format-time-string (cdr org-time-stamp-formats)) 1 -1) |