Skip to content

Commit

Permalink
Merge branch '2024.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlabci committed Nov 28, 2024
2 parents 12ffeb8 + 49f81f7 commit a98fe98
Show file tree
Hide file tree
Showing 745 changed files with 9,706 additions and 183,841 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Bug reports should contain the following information:

## Translations

Tine 2.0 manages translations at [Transifex](https://www.transifex.net/projects/p/tine20/),
Tine 2.0 manages translations at [Transifex](https://app.transifex.com/tine/groupware/dashboard/),
a free Web-Service for open source projects.

## Write Documentation
Expand Down
28 changes: 20 additions & 8 deletions docs/developers/translations_doku.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
translations doku
-----------------
Überblick
* Im Quellcode gehen die englischen strings durch die übersetzungsfunktionen `_('en text')`, `ngettext('singular en text', 'plural en text', n)`, `formatMessage('...')` (js only), `translate('...)` (templates)
* Mittels `langHelper -u` werden diese strings aus den sourcen extrahiert und in die po/pot files aufgenommen
* Die strings sollten nicht per Hand in die po files zugefügt werden. Lieber `langHelper -u --app Calendar -l de` für eine app/sprache
* Übersetzen am besten mit dem programm poedit, weil dass auch die Metadaten richtig anpasst
* Die Übersetzungen können auch online getätigt werden. Entwickler mit git nutzen aber lieber poedit und committen/pushen ins git
* Per Default haben unsere po Files keine Zeilennummern, um die Änderungen im Git nicht immer so groß zu haben. Will mensch zum Übersetzen sie haben:
* `langHelper -u -l de --keep-line-numbers` (Zeilennummern zufügen)
* übersetzen mit poedit
* `langHelper -u -l de` (Zeilennummern wieder entfernen)


Was wird übersetzt?
* Alle Apps aus `tine-groupware` übersetzen wir:
* Die erste hälfte des Releases `current-stable`
* Die zweite hälfte `next` bzw `main`
* Spezial-Apps zu spezial Editionen werden aus dem Editions-Branch übersetzte / zu tx gepushed
* Siehe `./tx/branches` Konfiguration

prerequisites

Expand All @@ -17,11 +35,11 @@ po-merge-helper aktivieren (eintrag in .git/config)
driver = ./scripts/git/merge-po-files %A %O %B
recursive = binary

tx-pull - holt die aktuellen übersetzungen von transi
txmerge - synced übersetzungen mit transifex

(vor am besten neuen branch auschecken)

$ vendor/bin/phing tx-pull
$ ./langHelper.php --txmerge --app Calendar -v -l bg

git add

Expand All @@ -43,9 +61,3 @@ commit + push to git
$ git add */translations
$ git commit -m "backup de translations"

neue strings zu transi pushen

$ vendor/bin/phing tx-push


--> im wiki aktualisieren
40 changes: 40 additions & 0 deletions tine20/.tx/branches
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[2024.11]
apps[] = ActiveSync
apps[] = Addressbook
apps[] = Admin
apps[] = Bookmarks
apps[] = Calendar
apps[] = CoreData
apps[] = Courses
apps[] = Crm
apps[] = DFCom
apps[] = EFile
apps[] = EventManager
apps[] = ExampleApplication
apps[] = Felamimail
apps[] = Filemanager
apps[] = GDPR
apps[] = HumanResources
apps[] = Inventory
apps[] = OnlyOfficeIntegrator
apps[] = Projects
apps[] = Sales
apps[] = Setup
apps[] = SimpleFAQ
apps[] = SSO
apps[] = Tasks
apps[] = Timetracker
apps[] = Tinebase
apps[] = UserManual

[ecclesias/2024.11]
apps[] = CashBook
apps[] = ChruchEdition
apps[] = ContractManager
apps[] = CrewScheduling
apps[] = Intention
apps[] = KeyManager
apps[] = MeetingManager
apps[] = Offertory


40 changes: 40 additions & 0 deletions tine20/.tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,26 @@ file_filter = Bookmarks/translations/<lang>.po
source_file = Bookmarks/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:CashBook]
file_filter = CashBook/translations/<lang>.po
source_file = CashBook/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:Calendar]
file_filter = Calendar/translations/<lang>.po
source_file = Calendar/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:ChruchEdition]
file_filter = ChruchEdition/translations/<lang>.po
source_file = ChruchEdition/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:ContractManager]
file_filter = ContractManager/translations/<lang>.po
source_file = ContractManager/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:CoreData]
file_filter = CoreData/translations/<lang>.po
source_file = CoreData/translations/template.pot
Expand All @@ -37,6 +52,11 @@ file_filter = Courses/translations/<lang>.po
source_file = Courses/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:CrewScheduling]
file_filter = CrewScheduling/translations/<lang>.po
source_file = CrewScheduling/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:Crm]
file_filter = Crm/translations/<lang>.po
source_file = Crm/translations/template.pot
Expand Down Expand Up @@ -77,11 +97,31 @@ file_filter = HumanResources/translations/<lang>.po
source_file = HumanResources/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:Intention]
file_filter = Intention/translations/<lang>.po
source_file = Intention/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:Inventory]
file_filter = Inventory/translations/<lang>.po
source_file = Inventory/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:KeyManager]
file_filter = KeyManager/translations/<lang>.po
source_file = KeyManager/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:MeetingManager]
file_filter = MeetingManager/translations/<lang>.po
source_file = MeetingManager/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:Offertory]
file_filter = Offertory/translations/<lang>.po
source_file = Offertory/translations/template.pot
source_lang = en

[o:tine:p:groupware:r:OnlyOfficeIntegrator]
file_filter = OnlyOfficeIntegrator/translations/<lang>.po
source_file = OnlyOfficeIntegrator/translations/template.pot
Expand Down
Loading

0 comments on commit a98fe98

Please sign in to comment.