emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Sp


From: Ihor Radchenko
Subject: Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages
Date: Mon, 28 Nov 2022 05:26:14 +0000

Esteban Ordóñez <quiliro@riseup.net> writes:

> El 2022-11-26 19:06, Ihor Radchenko escribió:
>
>>   '(("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")
>
> I don't know what "L" or "N" are.

"L" is supposed to refer to heading "Level".

> "Tarea" is not "Headline".  "Tarea" is "Task".
> "Heading" is "Encabezado".  I am not sure what "Headline" is.
> I am not sure what "Clock summary at" refers to.  I would need a
> complete sentence.  But literally it translates to "Resumen de reloj
> en".
> The rest is OK with me.

"Clock summary at" will be used as title:

#+TITLE: Clock summary at [2022-11-28]

I am attaching a patch according to your suggestions. Under your name.
Let me know if everything looks OK.

Thanks for the help!

>> P.S. I am taking this opportunity with an easy help request to see how
>> many people would be interested to contribute non-code.
>
> Finally something that I can contribute to! :-D

In theory, we tried to list ways to help that do not involve code in
https://orgmode.org/worg/org-contribute.html#org27513d8

Though it is hard to say how visible that page is from
https://orgmode.org/. (It is "Contribute" link on top).

More things also require translation in `org-export-dictionary'.

>From cc1e81900a7ff6e3ba7001764cd442d787aa0518 Mon Sep 17 00:00:00 2001
Message-Id: 
<cc1e81900a7ff6e3ba7001764cd442d787aa0518.1669612732.git.yantar92@posteo.net>
From: =?UTF-8?q?Esteban=20Ord=C3=B3=C3=B1ez?= <quiliro@riseup.net>
Date: Mon, 28 Nov 2022 13:18:19 +0800
Subject: [PATCH] org-clock-clocktable-language-setup: Fix Spanish translation

* lisp/org-clock.el (org-clock-clocktable-language-setup): Use
"Encabezado" for heading instead of "Tarea".  The latter is "Task",
not heading.  Translate "Clock summary at".

TINYCHANGE

Link: 49ccd4f74f568aa4d928c35a4af4c79d@riseup.net">https://orgmode.org/list/49ccd4f74f568aa4d928c35a4af4c79d@riseup.net
---
 lisp/org-clock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 1b59c0b58..811da10e0 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -347,7 +347,7 @@ (defcustom org-clock-clocktable-formatter 
'org-clocktable-write-default
 ;; 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" "Clock summary at")
-    ("es" "Archivo"  "N"  "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo 
total" "Tiempo archivo" "Clock summary at")
+    ("es" "Archivo"  "N"  "Fecha y hora" "Encabezado" "Tiempo" "TODO" "Tiempo 
total" "Tiempo archivo" "Resumen de reloj en")
     ("fr" "Fichier"  "N"  "Horodatage" "En-tête"  "Durée" "TOUT"  "Durée 
totale" "Durée fichier" "Horodatage sommaire à")
     ("nl" "Bestand"  "N"  "Tijdstip"   "Rubriek" "Duur"  "ALLES" "Totale duur" 
 "Bestandstijd" "Klok overzicht op")
     ("de" "Datei"    "E"  "Zeitstempel" "Kopfzeile" "Dauer" "GESAMT"
-- 
2.35.1

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]