emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Gregory <jgrg@autistici.org>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages
Date: Sun, 04 Dec 2022 14:44:30 -0300	[thread overview]
Message-ID: <87wn77jbzr.fsf@autistici.org> (raw)
In-Reply-To: <87v8mrif7j.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]


On 04 Dec 2022, Ihor Radchenko wrote:

> Jonathan Gregory <jgrg@autistici.org> writes:
>
>>> Contributions for other languages are also welcome.
>>
>> For Portuguese, I'd use the following:
>>
>> ("pt" "Arquivo" "N" "Data e hora" "Título" "Hora" "TODOS" "Hora 
>> total" "Hora do arquivo" "Resumo das horas em")
>
> Thanks!
> Would you mind making a patch?
> (I am asking because I can see that you did it in the past)

Sure, patch attached. BTW there are some small differences between 
pt and pt-BR (Brazilian Portuguese). I speak the latter, so that's 
what I used.

-- 
Jonathan

[-- Attachment #2: 0001-org-clock-clocktable-language-setup-Add-Portuguese-t.patch --]
[-- Type: text/x-diff, Size: 1477 bytes --]

From b9844c021366a5470f05f6638cd0b7d61b683434 Mon Sep 17 00:00:00 2001
From: Jonathan Gregory <jgrg@autistici.org>
Date: Sun, 4 Dec 2022 14:41:31 -0300
Subject: [PATCH] org-clock-clocktable-language-setup: Add Portuguese
 translation

* lisp/org-clock.el (org-clock-clocktable-language-setup): Do it.

TINYCHANGE
---
 lisp/org-clock.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 871687687..169b380f5 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -350,8 +350,8 @@ For more information, see `org-clocktable-write-default'."
     ("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"   "Rubriek" "Duur"  "ALLES" "Totale duur"  "Bestandstijd" "Klok overzicht op")
-    ("de" "Datei"    "E"  "Zeitstempel" "Kopfzeile" "Dauer" "GESAMT"
-     "Gesamtdauer"  "Dateizeit" "Erstellt am"))
+    ("de" "Datei"    "E"  "Zeitstempel" "Kopfzeile" "Dauer" "GESAMT" "Gesamtdauer"  "Dateizeit" "Erstellt am")
+    ("pt-BR" "Arquivo" "N" "Data e hora" "Título" "Hora" "TODOS" "Hora total" "Hora do arquivo" "Resumo das horas em"))
   "Terms used in clocktable, translated to different languages."
   :group 'org-clocktable
   :version "24.1"
-- 
2.25.1


  reply	other threads:[~2022-12-04 17:50 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-27  0:06 [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages Ihor Radchenko
2022-11-27  9:02 ` gerard.vermeulen
2022-11-28  5:10   ` Ihor Radchenko
2022-11-28  5:47     ` gerard.vermeulen
2022-12-04 11:14       ` Ihor Radchenko
2022-12-04 11:21         ` Ihor Radchenko
2022-11-27  9:15 ` Esteban Ordóñez
2022-11-28  5:26   ` Ihor Radchenko
2022-11-28 10:21     ` Esteban Ordóñez
2022-12-04 11:17       ` Ihor Radchenko
2022-12-05 13:08         ` Esteban Ordóñez
2022-12-05 13:15           ` Ihor Radchenko
2022-12-05 13:34             ` Esteban Ordóñez
2022-12-05 13:37               ` Esteban Ordóñez
2022-12-05 13:44                 ` Ihor Radchenko
2022-12-05 16:47                   ` Esteban Ordóñez
2022-12-05 13:50             ` Christian Moe
2022-12-05 14:33               ` Esteban Ordóñez
2022-12-05 15:25                 ` Christian Moe
2022-12-05 16:51                   ` Esteban Ordóñez
2022-12-14 13:17       ` [HELP] Things to help Org that do not involve programming Ihor Radchenko
2023-02-03  9:09         ` Kevin Brubeck Unhammer
2023-02-11 11:51           ` Ihor Radchenko
2022-11-28  5:01 ` [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages Ihor Radchenko
2022-11-29  0:07 ` Jonathan Gregory
2022-12-04 11:24   ` Ihor Radchenko
2022-12-04 17:44     ` Jonathan Gregory [this message]
2022-12-10 13:26       ` Ihor Radchenko
2022-11-30  0:19 ` Rudolf Adamkovič
2022-12-04 11:26   ` Ihor Radchenko
2022-12-12 12:34     ` Ihor Radchenko
2022-12-13 21:35     ` Rudolf Adamkovič
2022-11-30 15:01 ` Max Nikulin
2022-12-04 11:27   ` Ihor Radchenko
2022-12-06 11:12     ` Max Nikulin
2023-02-03  8:55 ` Kevin Brubeck Unhammer
2023-02-03  9:52   ` Christian Moe
2023-02-03 11:01     ` Kevin Brubeck Unhammer
2023-02-11 11:56   ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2022-12-01  6:44 Pedro Andres Aranda Gutierrez
2022-12-12 12:18 ` Ihor Radchenko
2022-12-12 12:32   ` Pedro Andres Aranda Gutierrez
2023-02-02 11:05   ` Ihor Radchenko
2023-02-04  2:02     ` Esteban Ordóñez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wn77jbzr.fsf@autistici.org \
    --to=jgrg@autistici.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).