mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-16 01:27:08 +00:00
Compare commits
No commits in common. "ddb2de6072e51379e8270d9e21a892dbfc911205" and "91adbbe183717afb2d2205d3a720d9c02f516f85" have entirely different histories.
ddb2de6072
...
91adbbe183
@ -17,11 +17,32 @@ $ perl generate_translatable_strings.pl > tomb.pot
|
||||
|
||||
After that, just open the `tomb.pot` file in the [poedit](https://poedit.net/) program, and click on "Start new translation" (bottom left button), select your language, save and start translating.
|
||||
|
||||
## 3. Updating translation
|
||||
## 3. Notes on versioning
|
||||
|
||||
**As of June 27, 2023**, the current `tomb.pot` template was created on January 2, 2017 for `Tomb version 2.3`, which was released on the same date, as can be seen in [tag v2.3](https://github.com/dyne/Tomb/releases/tag/v2.3).
|
||||
|
||||
```sh
|
||||
$ sed -n '9p' tomb.pot
|
||||
"PO-Revision-Date: Mon Jan 2 22:40:32 2017\n"
|
||||
```
|
||||
|
||||
***Thus, all files in this folder, as of June 27, 2023, are valid for tomb version 2.3 `only`.***
|
||||
|
||||
Old translations may work with recent versions of Tomb, but will be incomplete and wrong at many points.
|
||||
|
||||
### 3.1 Exception
|
||||
Translation files for Brazilian Portuguese (pt_BR) was created in June 27, 2023. Precisely when it was noticed that the translations were out of date.
|
||||
|
||||
So the translator created two versions: one for Tomb 2.3 (`pt_BR.pot` based upon `tomb.pot`) and another for Tomb 2.10 (`pt_BR-2.10.pot` based upon `tomb-2.10.pot`).
|
||||
|
||||
For now it is the only updated translation for the current version of Tomb.
|
||||
|
||||
## 4. Updating translation
|
||||
In your favorite shell, make a backup of old file adding it's version, then update with `msgmerge`:
|
||||
|
||||
```sh
|
||||
$ msgmerge --update <language>.po tomb.pot
|
||||
$ cp lang.po lang-2.3.pot
|
||||
$ msgmerge --update lang.po tomb-2.10.pot
|
||||
```
|
||||
|
||||
Open the new updated PO translation file and start reviewing the translation. Poedit will highlight what has changed and what needs revision.
|
||||
Open the new updated PO translation file and start reviewing the translation.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@ my $STRINGPATTERN = '(".*?[^\\\]")';
|
||||
my $date = localtime;
|
||||
print '
|
||||
# Tomb - The Crypto Undertaker.
|
||||
# Copyright (C) 2007-2024 Dyne.org Foundation
|
||||
# Copyright (C) 2007-2014 Dyne.org Foundation
|
||||
# Denis Roio <jaromil@dyne.org>, 2013.
|
||||
#
|
||||
#, fuzzy
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
cat <<EOF
|
||||
# Tomb - The Crypto Undertaker.
|
||||
# Copyright (C) 2007-2024 Dyne.org Foundation
|
||||
# Copyright (C) 2007-2014 Dyne.org Foundation
|
||||
# Denis Roio <jaromil@dyne.org>, 2013.
|
||||
#
|
||||
#, fuzzy
|
||||
|
File diff suppressed because it is too large
Load Diff
1547
extras/translations/pt_BR-2.10.po
Normal file
1547
extras/translations/pt_BR-2.10.po
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1424
extras/translations/tomb-2.10.pot
Normal file
1424
extras/translations/tomb-2.10.pot
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2
tomb
2
tomb
@ -2668,7 +2668,7 @@ list_tombs() {
|
||||
# list all open tombs
|
||||
mounted_tombs=(`list_tomb_mounts $1`)
|
||||
[[ ${#mounted_tombs} == 0 ]] && {
|
||||
_failure "I can't see any open tomb, may they all rest in peace." }
|
||||
_failure "I can't see any ::1 status:: tomb, may they all rest in peace." ${1:-open} }
|
||||
|
||||
for t in ${mounted_tombs}; do
|
||||
mapper=`basename ${t[(ws:;:)1]}`
|
||||
|
Loading…
Reference in New Issue
Block a user