Configured Plugins: LocalizationEditor, gdLinter

This commit is contained in:
Exobyt 2024-09-18 23:01:48 +02:00
parent e67d9fad3c
commit 353a455243
9 changed files with 75 additions and 20 deletions

View file

@ -0,0 +1,28 @@
# Keys for LocalizationManger to use in source code: MIT License
# @author Vladimir Petrenko
@tool
class_name LocalizationKeys
const PLAY = "PLAY"
const MONEY = "MONEY"
const RESULT = "RESULT"
const UNDERSTOOD = "UNDERSTOOD"
const SUCCES = "SUCCES"
const FAILURE = "FAILURE"
const STORMWARNING = "STORMWARNING"
const INTRODUCTION = "INTRODUCTION"
const WARNING = "WARNING"
const HELP = "HELP"
const KEYS = [
"PLAY",
"MONEY",
"RESULT",
"UNDERSTOOD",
"SUCCES",
"FAILURE",
"STORMWARNING",
"INTRODUCTION",
"WARNING",
"HELP"
]

View file

@ -0,0 +1,9 @@
# Placeholders for LocalizationManger to use in source code: MIT License
# @author Vladimir Petrenko
@tool
class_name LocalizationPlaceholders
const PLACEHOLDERS = [
]

View file

@ -0,0 +1,6 @@
# Remapkeys for LocalizationManger to use in source code: MIT License
# @author Vladimir Petrenko
@tool
class_name LocalizationRemaps
const DOLLAR_PNG = "DOLLAR_PNG"

View file

@ -0,0 +1,7 @@
[gd_resource type="Resource" script_class="LocalizationPlaceholdersData" load_steps=2 format=3 uid="uid://c8imk4d1wyrw4"]
[ext_resource type="Script" path="res://addons/localization_editor/model/LocalizationPlaceholdersData.gd" id="1"]
[resource]
script = ExtResource("1")
placeholders = {}

View file

@ -0,0 +1,11 @@
keys,de,en
PLAY,Spielen,Play
MONEY,Geld,Money
RESULT,Ergebnis,Result
UNDERSTOOD,Verstanden,Understood
SUCCES,Erfolgreich extrahiert,Succesfully extracted
FAILURE,Leider nicht geschafft,Lost in the Storm
STORMWARNING,Sturm Warnung! Schnell zum Portal!,Storm Warning! Back to the Portal. NOW!
INTRODUCTION,"Jedes Objekt was du uns zum Portal bringst, bringt dir Geld",For every Object that you bring us we wil pay you handsomely
WARNING,"Noch ein Hinweis, es wude ein Sturm vorrausgesagt. Wir werden dich aber warnen wenn er kommt, sei dann aber schnell!","Just for Protocol, the Weather Report said there was a Storm coming. We will warn you if it is close, but be fast!"
HELP,Hilfe,Help
1 keys de en
2 PLAY Spielen Play
3 MONEY Geld Money
4 RESULT Ergebnis Result
5 UNDERSTOOD Verstanden Understood
6 SUCCES Erfolgreich extrahiert Succesfully extracted
7 FAILURE Leider nicht geschafft Lost in the Storm
8 STORMWARNING Sturm Warnung! Schnell zum Portal! Storm Warning! Back to the Portal. NOW!
9 INTRODUCTION Jedes Objekt was du uns zum Portal bringst, bringt dir Geld For every Object that you bring us we wil pay you handsomely
10 WARNING Noch ein Hinweis, es wude ein Sturm vorrausgesagt. Wir werden dich aber warnen wenn er kommt, sei dann aber schnell! Just for Protocol, the Weather Report said there was a Storm coming. We will warn you if it is close, but be fast!
11 HELP Hilfe Help

View file

@ -0,0 +1,17 @@
[remap]
importer="csv_translation"
type="Translation"
uid="uid://cn1jc4oehudym"
[deps]
files=["res://localization/localizations.de.translation", "res://localization/localizations.en.translation"]
source_file="res://localization/localizations.csv"
dest_files=["res://localization/localizations.de.translation", "res://localization/localizations.en.translation"]
[params]
compress=true
delimiter=0