Add template files for generating .po file in other languages

This commit is contained in:
Luca Canali 2022-08-19 16:58:51 +02:00
parent 337d3d3963
commit ba3e4b07e8
4 changed files with 1291 additions and 150 deletions

169
locale/cards.pot Normal file
View file

@ -0,0 +1,169 @@
# Translations template for PROJECT.
# Copyright (C) 2022 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# Automatically generated, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-08-18 10:39+0200\n"
"PO-Revision-Date: 2022-08-19 16:52+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.1\n"
#: CARDS DESCRIPTION oh-my-git/resources/cards.json:6
msgid "Drag this card into the empty space above to initialize the time machine!"
msgstr ""
#: oh-my-git/resources/cards.json:14
msgid "Create your own copy of someone else's repo."
msgstr ""
#: oh-my-git/resources/cards.json:22
msgid ""
"Set your name.\n"
"\n"
"(Will not change anything outside of this game.)"
msgstr ""
#: oh-my-git/resources/cards.json:30
msgid "Set your email address."
msgstr ""
#: oh-my-git/resources/cards.json:38
msgid "Drag this card to a commit or to a branch to travel to it!"
msgstr ""
#: oh-my-git/resources/cards.json:46
msgid "Reset changes in a local file."
msgstr ""
#: oh-my-git/resources/cards.json:54
msgid "Get the file contents from the specified commits, and reset both the working directory, as well as the index, to it."
msgstr ""
#: oh-my-git/resources/cards.json:62
msgid ""
"Make a new commit, after automatically adding all changes to the index.\n"
"You'll be asked to enter a short description of what you changed."
msgstr ""
#: oh-my-git/resources/cards.json:70
msgid "Make a new commit containing your current environment! Type in a description of what changed!"
msgstr ""
#: oh-my-git/resources/cards.json:78
msgid "Merge the specified timeline into yours. If necessary, will create a merge commit."
msgstr ""
#: oh-my-git/resources/cards.json:86
msgid "Abort the current merge attempt, and reconstruct the previous state."
msgstr ""
#: oh-my-git/resources/cards.json:94
msgid "Put the events in your current timeline on top of the specified one."
msgstr ""
#: oh-my-git/resources/cards.json:102
msgid "Get someone else's version of the current timeline, and try to merge it into yours."
msgstr ""
#: oh-my-git/resources/cards.json:110
msgid "Get a someone else's version of the current timeline."
msgstr ""
#: oh-my-git/resources/cards.json:118
msgid "Give the current timeline to someone else."
msgstr ""
#: oh-my-git/resources/cards.json:126
msgid "Make changes to the events in your current timeline, back to the commit you drag this to."
msgstr ""
#: oh-my-git/resources/cards.json:134
msgid "Continue the current rebasing process."
msgstr ""
#: oh-my-git/resources/cards.json:142
msgid "Move the branch you're on to the specified commit."
msgstr ""
#: oh-my-git/resources/cards.json:150
msgid "Jump to the commit, and update the index. Keep the current environment."
msgstr ""
#: oh-my-git/resources/cards.json:158
msgid "Reset the index version of a file to the version in the commit you're on."
msgstr ""
#: oh-my-git/resources/cards.json:166
msgid "Repeat the specified action on top of your current timeline."
msgstr ""
#: oh-my-git/resources/cards.json:174
msgid "Make a new commit that reverts the changes of the speicified commit."
msgstr ""
#: oh-my-git/resources/cards.json:182
msgid "Start looking for the commit where things got bad."
msgstr ""
#: oh-my-git/resources/cards.json:190
msgid "State that the current commit is good! When you're automatically transferred, keep playing the `good` and `bad` cards!"
msgstr ""
#: oh-my-git/resources/cards.json:198
msgid "State that the current commit is bad! When you're automatically transferred, keep playing the `good` and `bad` cards!"
msgstr ""
#: oh-my-git/resources/cards.json:206
msgid "Update the index version of the file to its current real content."
msgstr ""
#: oh-my-git/resources/cards.json:214
msgid "Delete a file both in the working directory, as well as the index."
msgstr ""
#: oh-my-git/resources/cards.json:222
msgid "Make a commit from the current index."
msgstr ""
#: oh-my-git/resources/cards.json:230
msgid "Show what changed in the commit."
msgstr ""
#: oh-my-git/resources/cards.json:238
msgid "Create a new branch at your current location."
msgstr ""
#: oh-my-git/resources/cards.json:246
msgid "Delete a branch."
msgstr ""
#: oh-my-git/resources/cards.json:254
msgid "Display a log of where the ref pointed to in the past."
msgstr ""
#: oh-my-git/resources/cards.json:262
msgid "Create a new file."
msgstr ""
#: oh-my-git/resources/cards.json:270
msgid "Delete a file."
msgstr ""
#: oh-my-git/resources/cards.json:278
msgid "Rename a file."
msgstr ""
#: oh-my-git/resources/cards.json:286
msgid "Make a copy of a file."
msgstr ""

1037
locale/levels.pot Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -1,84 +1,71 @@
# Translations template for PROJECT. # Translations template for PROJECT.
# Copyright (C) 2022 ORGANIZATION # Copyright (C) 2022 ORGANIZATION
# This file is distributed under the same license as the PROJECT project. # This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022. # Automatically generated, 2022.
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-08-18 10:39+0200\n" "POT-Creation-Date: 2022-08-18 10:39+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2022-08-19 16:52+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Automatically generated\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n" "Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.1\n"
msgid "teacher"
msgstr ""
#: oh-my-git/scenes/arrow.tscn:35 oh-my-git/scenes/arrow.tscn:48 #: oh-my-git/scenes/arrow.tscn:35 oh-my-git/scenes/arrow.tscn:48
msgid "label" #: oh-my-git/scenes/card.tscn:125 oh-my-git/scenes/card.tscn:144
msgstr ""
#: oh-my-git/scenes/card.tscn:125
msgid "Description"
msgstr ""
#: oh-my-git/scenes/card.tscn:144
msgid "0"
msgstr ""
#: oh-my-git/scenes/cards.gd:58 #: oh-my-git/scenes/cards.gd:58
msgid "YOUR_CARDS" msgid "These are your cards! Drag them to highlighted areas to play them!"
msgstr "" msgstr ""
#: oh-my-git/scenes/cards.tscn:34 #: oh-my-git/scenes/cards.tscn:34
msgid "Draw new cards" msgid "Draw new cards"
msgstr "" msgstr ""
#: oh-my-git/scenes/cards.tscn:48 #: oh-my-git/scenes/cards.tscn:48 oh-my-git/scenes/file_browser.tscn:51
msgid "3"
msgstr ""
#: oh-my-git/scenes/file_browser.tscn:51
msgid "title" msgid "title"
msgstr "" msgstr ""
#: oh-my-git/scenes/file_browser.tscn:64 #: oh-my-git/scenes/file_browser.tscn:64 oh-my-git/scenes/file_browser.tscn:70
msgid "root"
msgstr ""
#: oh-my-git/scenes/file_browser.tscn:70
msgid "dir"
msgstr ""
#: oh-my-git/scenes/file_browser.tscn:111 oh-my-git/scenes/text_editor.tscn:32 #: oh-my-git/scenes/file_browser.tscn:111 oh-my-git/scenes/text_editor.tscn:32
msgid "Save" msgid "Save"
msgstr "" msgstr ""
#: oh-my-git/scenes/file_browser.tscn:126 oh-my-git/scenes/text_editor.tscn:47 #: oh-my-git/scenes/file_browser.tscn:126 oh-my-git/scenes/text_editor.tscn:47
msgid "x"
msgstr ""
#: oh-my-git/scenes/file_browser_item.tscn:118 #: oh-my-git/scenes/file_browser_item.tscn:118
msgid "filename" msgid "filename"
msgstr "" msgstr ""
#: oh-my-git/scenes/game.gd:3 #: oh-my-git/scenes/game.gd:3
msgid "ENGLISH" msgid "English"
msgstr "" msgstr ""
#: oh-my-git/scenes/game.gd:3 #: oh-my-git/scenes/game.gd:3
msgid "ITALIAN" msgid "Italian"
msgstr ""
#: oh-my-git/scenes/level.gd:45
msgid ""
"Good job, you solved the level!\n"
"Feel free to try a few more things or click 'Next level'."
msgstr "" msgstr ""
#: oh-my-git/scenes/level.gd:81 #: oh-my-git/scenes/level.gd:81
msgid "COMPLETE_GOAL" msgid "Complete the goal of this level"
msgstr "" msgstr ""
#: oh-my-git/scenes/level_select.gd:60 #: oh-my-git/scenes/level_select.gd:60
msgid "GOLDEN_BADGE" msgid "You get a golden badge for each level you solve without using the playing cards! Can you solve them all using the command line?"
msgstr "" msgstr ""
#: oh-my-git/scenes/level_select.tscn:51 #: oh-my-git/scenes/level_select.tscn:51
@ -92,22 +79,15 @@ msgid "To the survey /o/"
msgstr "" msgstr ""
#: oh-my-git/scenes/level_select.tscn:82 oh-my-git/scenes/main.tscn:214 #: oh-my-git/scenes/level_select.tscn:82 oh-my-git/scenes/main.tscn:214
msgid "BACK" msgid "Back"
msgstr "" msgstr ""
#: oh-my-git/scenes/level_select.tscn:93 oh-my-git/scenes/main.tscn:225 #: oh-my-git/scenes/level_select.tscn:93 oh-my-git/scenes/main.tscn:225
msgid "RELOAD" msgid "Reload"
msgstr "" msgstr ""
#: oh-my-git/scenes/main.tscn:105 #: oh-my-git/scenes/main.tscn:105 oh-my-git/scenes/main.tscn:124
msgid "Level name here!" #: oh-my-git/scenes/main.tscn:136 oh-my-git/scenes/main.tscn:237
msgstr ""
#: oh-my-git/scenes/main.tscn:124 oh-my-git/scenes/main.tscn:136
msgid "Level description here!"
msgstr ""
#: oh-my-git/scenes/main.tscn:237
msgid "Cards!" msgid "Cards!"
msgstr "" msgstr ""
@ -116,24 +96,18 @@ msgid "Tip!"
msgstr "" msgstr ""
#: oh-my-git/scenes/main.tscn:275 #: oh-my-git/scenes/main.tscn:275
msgid "NEXT_LEVEL" msgid "Next level"
msgstr "" msgstr ""
#: oh-my-git/scenes/music_button.tscn:12 #: oh-my-git/scenes/music_button.tscn:12
msgid "MUSIC" msgid "Toggle music"
msgstr "" msgstr ""
#: oh-my-git/scenes/no_git.tscn:33 oh-my-git/scenes/survey.tscn:46 #: oh-my-git/scenes/no_git.tscn:33 oh-my-git/scenes/survey.tscn:46
#: oh-my-git/scenes/title.tscn:25 #: oh-my-git/scenes/title.tscn:25 oh-my-git/scenes/no_git.tscn:46
msgid "by bleeptrack & blinry" #: oh-my-git/scenes/title.tscn:38 oh-my-git/scenes/no_git.tscn:65
msgstr "" #: oh-my-git/scenes/title.tscn:56
msgid "Levels"
#: oh-my-git/scenes/no_git.tscn:46 oh-my-git/scenes/title.tscn:38
msgid "Original score by winniehell"
msgstr ""
#: oh-my-git/scenes/no_git.tscn:65 oh-my-git/scenes/title.tscn:56
msgid "LEVELS"
msgstr "" msgstr ""
#: oh-my-git/scenes/no_git.tscn:71 oh-my-git/scenes/title.tscn:62 #: oh-my-git/scenes/no_git.tscn:71 oh-my-git/scenes/title.tscn:62
@ -141,83 +115,63 @@ msgid "Sandbox"
msgstr "" msgstr ""
#: oh-my-git/scenes/no_git.tscn:76 #: oh-my-git/scenes/no_git.tscn:76
msgid "INSTALL" msgid "Install"
msgstr "" msgstr ""
#: oh-my-git/scenes/no_git.tscn:97 #: oh-my-git/scenes/no_git.tscn:97 oh-my-git/scenes/node.gd:83
msgid "GIT_MESSAGE" msgid "You can drag these around with your mouse!"
msgstr ""
#: oh-my-git/scenes/node.gd:83
msgid "DRAG_AROUND"
msgstr ""
#: oh-my-git/scenes/node.tscn:55
msgid "object_id"
msgstr ""
#: oh-my-git/scenes/notification.gd:5
msgid "GOT_IT"
msgstr ""
#: oh-my-git/scenes/notification.gd:6
msgid "INTERESTING"
msgstr ""
#: oh-my-git/scenes/notification.gd:7
msgid "VERY_USEFULL"
msgstr ""
#: oh-my-git/scenes/notification.gd:8
msgid "COOL"
msgstr ""
#: oh-my-git/scenes/notification.gd:9
msgid "NICE"
msgstr ""
#: oh-my-git/scenes/notification.gd:10
msgid "THANKS"
msgstr ""
#: oh-my-git/scenes/notification.gd:11
msgid "WHATEVER"
msgstr ""
#: oh-my-git/scenes/notification.gd:12
msgid "OKAY"
msgstr ""
#: oh-my-git/scenes/notification.gd:13
msgid "YAY"
msgstr ""
#: oh-my-git/scenes/notification.gd:14
msgid "AWESOME"
msgstr ""
#: oh-my-git/scenes/notification.tscn:37
msgid ""
"This is a hint! This is a hint! This is a hint! This is a hint! This is a"
" hint! This is a hint! This is a hint! This is a hint! This is a hint!"
msgstr "" msgstr ""
#: oh-my-git/scenes/node.tscn:55 oh-my-git/scenes/notification.gd:5
#: oh-my-git/scenes/notification.tscn:59 #: oh-my-git/scenes/notification.tscn:59
msgid "Got it!" msgid "Got it!"
msgstr "" msgstr ""
#: oh-my-git/scenes/repository.gd:92 #: oh-my-git/scenes/notification.gd:6
msgid "INTERACT" msgid "Interesting!"
msgstr "" msgstr ""
#: oh-my-git/scenes/repository.tscn:56 #: oh-my-git/scenes/notification.gd:7
msgid "Repo name" msgid "Very useful!"
msgstr "" msgstr ""
#: oh-my-git/scenes/repository.tscn:67 #: oh-my-git/scenes/notification.gd:8
msgid "Index:" msgid "Cool!"
msgstr "" msgstr ""
#: oh-my-git/scenes/notification.gd:9
msgid "Nice!"
msgstr ""
#: oh-my-git/scenes/notification.gd:10
msgid "Thanks!"
msgstr ""
#: oh-my-git/scenes/notification.gd:11
msgid "Whatever..."
msgstr ""
#: oh-my-git/scenes/notification.gd:12
msgid "Okay!"
msgstr ""
#: oh-my-git/scenes/notification.gd:13
msgid "Yay!"
msgstr ""
#: oh-my-git/scenes/notification.gd:14
msgid "Awesome!"
msgstr ""
#: oh-my-git/scenes/notification.tscn:37
msgid "This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint!"
msgstr ""
#: oh-my-git/scenes/notification.tscn:59 oh-my-git/scenes/repository.gd:92
msgid "This is the time machine of another person! To interact with it, you need special commands!"
msgstr ""
#: oh-my-git/scenes/repository.tscn:56 oh-my-git/scenes/repository.tscn:67
#: oh-my-git/scenes/repository.tscn:78 #: oh-my-git/scenes/repository.tscn:78
msgid "Update" msgid "Update"
msgstr "" msgstr ""
@ -226,11 +180,8 @@ msgstr ""
msgid "Hide trees and blobs" msgid "Hide trees and blobs"
msgstr "" msgstr ""
#: oh-my-git/scenes/survey.tscn:34 #: oh-my-git/scenes/survey.tscn:34 oh-my-git/scenes/survey.tscn:71
msgid "Oh My Git!" #: oh-my-git/scenes/title.tscn:68
msgstr ""
#: oh-my-git/scenes/survey.tscn:71
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
@ -242,30 +193,14 @@ msgid ""
msgstr "" msgstr ""
#: oh-my-git/scenes/terminal.gd:107 #: oh-my-git/scenes/terminal.gd:107
msgid "YOUR_TERMINAL" msgid "This is your terminal! All commands are executed here, and you can see their output. You can also type your own commands here!"
msgstr "" msgstr ""
#: oh-my-git/scenes/terminal.tscn:86 #: oh-my-git/scenes/terminal.tscn:86 oh-my-git/scenes/terminal.tscn:93
msgid "git commit --allow-empty -m \"$RANDOM\"" #: oh-my-git/scenes/terminal.tscn:100 oh-my-git/scenes/text_editor.tscn:12
msgstr ""
#: oh-my-git/scenes/terminal.tscn:93
msgid "git checkout HEAD^"
msgstr ""
#: oh-my-git/scenes/terminal.tscn:100
msgid "git checkout -b \"$RANDOM\""
msgstr ""
#: oh-my-git/scenes/text_editor.tscn:12
msgid "Text here" msgid "Text here"
msgstr "" msgstr ""
#: oh-my-git/scenes/title.tscn:68 #: oh-my-git/scenes/title.tscn:68 oh-my-git/scenes/title.tscn:74
msgid "QUIT" msgid "Language"
msgstr "" msgstr ""
#: oh-my-git/scenes/title.tscn:74
msgid "LANGUAGE"
msgstr ""