Skip to content

Commit f790469

Browse files
committed
beta build
1 parent 4a5bf6a commit f790469

File tree

6 files changed

+23
-11
lines changed

6 files changed

+23
-11
lines changed

bundle/dsa5.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lang/en.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
"buyingFactor": "Buy factor",
194194
"sellingFactor": "Sell factor",
195195
"typeMerchant": "Merchant",
196+
"startExchange": "Chose a trading partner for an exchange (double click).",
196197
"hideMoney": "Hide money",
197198
"hideMoneyHint": "Hide the purse of the merchant for the players.",
198199
"typeEpic": "Garadan",
@@ -214,7 +215,10 @@
214215
"emptyDestroyHint": "Deletes the actor if its inventory is emptied during trading.",
215216
"untradable": "Item not tradable",
216217
"otherTradeFriend": "Drag an actor (that you own) on the sheet to change the trading partner.",
217-
"priceMod": "Base price / Modified price (Double click for custom price)"
218+
"priceMod": "Base price / Modified price (Double click for custom price)",
219+
"yourOffer": "Your offer",
220+
"otherOffer": "Offer of the trading partner",
221+
"accept": "Accept"
218222
},
219223
"GARADAN": {
220224
"1": "Pawn",
@@ -1195,7 +1199,10 @@
11951199
"minutes": "(minute(s)?|min)",
11961200
"seconds": "(second(s)?)",
11971201
"hours": "(hour(s)?)",
1198-
"days": "day(s)?"
1202+
"days": "day(s)?",
1203+
"weeks":"week(s)?",
1204+
"months": "month(s)?",
1205+
"years": "year(s)?"
11991206
},
12001207
"ActiveEffects": {
12011208
"hideOnToken": "Hide on Token",
@@ -1226,7 +1233,9 @@
12261233
"armorPostprocess": "Armor transformation (Macro)",
12271234
"damagePostprocess": "Damage transformation (Macro)",
12281235
"onRemove": "Macro (End of effect)",
1229-
"onUseEffect": "Macro (On Use)"
1236+
"onUseEffect": "Macro (On Use)",
1237+
"postRoll": "Macro (after roll)",
1238+
"postOpposed": "Macro (after opposed roll)"
12301239
},
12311240
"dialog": {
12321241
"duration": "Effect Duration",
@@ -1242,6 +1251,7 @@
12421251
"immuneToCrit": "Immune to critical hits",
12431252
"aspectKnowledge": "Aspect Knowledge",
12441253
"sharpshooter": "Sharpshooter",
1254+
"professionSecret": "Trade Secret",
12451255
"deaf": "Deaf",
12461256
"blind": "Blind",
12471257
"alchemy": "Alchemy",
@@ -1804,7 +1814,7 @@
18041814
"lykanthrop": "Lykanthropic gifts",
18051815
"generalStyle": "Talent Style Special Abilities",
18061816
"extGeneral": "Advanced Talent Special Abilities",
1807-
"pactgift": "Pact",
1817+
"pact": "Pact",
18081818
"staff": "Tradition Artifact",
18091819
"command": "Command Special Abilities"
18101820
},

styles/css/dsa5.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/css/dsa5.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/chat/roll/spell-card.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
{{#each immuneTo as |immunity|}}
3838
<b>{{localize "DSAError.immuneTo" name=immunity.target condition=immunity.condition }}</b>
3939
{{/each}}
40+
</div>
4041
{{/if}}
4142
{{#if (or hasAreaTemplate applyEffect)}}
4243
<div class="row-section" style="margin-top:10px">

test/compare_translations.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
##make this nested
66
def compareKeys
77
langs = ["de", "en"]
8-
langDependentKeys = ["Combatskilldescr", "Racedescr","ReverseSpellRanges", "SKILLdescr"]
8+
langDependentKeys = ["Combatskilldescr", "Racedescr","ReverseSpellRanges", "SKILLdescr", "LocalizedCTs"]
9+
showTBD = false
910

1011
json = {}
1112
langs.each do |lang|
12-
json[lang] = JSON.parse(File.read("../lang/#{lang}.json")).flatten_with_path
13+
json[lang] = JSON.parse(File.read("#{__dir__}/../lang/#{lang}.json")).flatten_with_path
1314
end
1415
ref = "de"
1516

@@ -22,13 +23,13 @@ def compareKeys
2223
puts "Keys of lang #{lang} not in reference #{ref} translation:\n#{notInRef.join("\n")}\n\n\n" if notInRef.any?
2324
end
2425

25-
puts "\n\n##################################################\n\n"
26+
puts "\n\nTestresult ##################################################\n\n"
2627
langs.each do |lang|
2728
emptyKeys = json[lang].select{|key,val| val == ""}
2829
puts "Empty keys in lang #{lang}: \n#{emptyKeys.keys.join("\n")}" if emptyKeys.any?
2930

3031
emptyKeys = json[lang].select{|key,val| val == "tbd"}
31-
puts "Tbd keys in lang #{lang}: \n#{emptyKeys.keys.join("\n")}" if emptyKeys.any?
32+
puts "Tbd keys in lang #{lang}: \n#{emptyKeys.keys.join("\n")}" if emptyKeys.any? && showTBD
3233
end
3334

3435
langDependentKeys.each do |x|

0 commit comments

Comments
 (0)