first Prototype
This commit is contained in:
parent
e11825c698
commit
35ce267482
481 changed files with 17315 additions and 1 deletions
12
localization/LocalizationKeys.gd
Normal file
12
localization/LocalizationKeys.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Keys for LocalizationManger to use in source code: MIT License
|
||||
# @author Vladimir Petrenko
|
||||
@tool
|
||||
class_name LocalizationKeys
|
||||
|
||||
const KEY_NAME = "KEY_NAME"
|
||||
const KEY_PLAY = "KEY_PLAY"
|
||||
|
||||
const KEYS = [
|
||||
"KEY_NAME",
|
||||
"KEY_PLAY"
|
||||
]
|
||||
1
localization/LocalizationKeys.gd.uid
Normal file
1
localization/LocalizationKeys.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://6b2qxogn6b4o
|
||||
9
localization/LocalizationPlaceholders.gd
Normal file
9
localization/LocalizationPlaceholders.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Placeholders for LocalizationManger to use in source code: MIT License
|
||||
# @author Vladimir Petrenko
|
||||
@tool
|
||||
class_name LocalizationPlaceholders
|
||||
|
||||
|
||||
const PLACEHOLDERS = [
|
||||
|
||||
]
|
||||
1
localization/LocalizationPlaceholders.gd.uid
Normal file
1
localization/LocalizationPlaceholders.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dy5rnmaioifbh
|
||||
0
localization/LocalizationRemaps.gd
Normal file
0
localization/LocalizationRemaps.gd
Normal file
1
localization/LocalizationRemaps.gd.uid
Normal file
1
localization/LocalizationRemaps.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dmd6uiolxwn1h
|
||||
16
localization/Placeholders.tres
Normal file
16
localization/Placeholders.tres
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[gd_resource type="Resource" script_class="LocalizationPlaceholdersData" load_steps=2 format=3 uid="uid://dmqjq3hnd4dff"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c56hv2a0fyjv7" path="res://addons/localization_editor/model/LocalizationPlaceholdersData.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
placeholders = {
|
||||
"NAME": {
|
||||
"de": "Johan",
|
||||
"en": "John"
|
||||
},
|
||||
"OLD": {
|
||||
"de": "16",
|
||||
"en": "17"
|
||||
}
|
||||
}
|
||||
3
localization/localizations.csv
Normal file
3
localization/localizations.csv
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
keys,en,de
|
||||
KEY_NAME,English,Deutsch
|
||||
KEY_PLAY,Play,Spielen
|
||||
|
17
localization/localizations.csv.import
Normal file
17
localization/localizations.csv.import
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[remap]
|
||||
|
||||
importer="csv_translation"
|
||||
type="Translation"
|
||||
uid="uid://dda56mdyc1qof"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://localization/localizations.en.translation", "res://localization/localizations.de.translation"]
|
||||
|
||||
source_file="res://localization/localizations.csv"
|
||||
dest_files=["res://localization/localizations.en.translation", "res://localization/localizations.de.translation"]
|
||||
|
||||
[params]
|
||||
|
||||
compress=true
|
||||
delimiter=0
|
||||
Loading…
Add table
Add a link
Reference in a new issue