mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-03-30 12:07:24 +02:00
More translations
This commit is contained in:
parent
0b69c1882b
commit
7eeb1f76c3
11 changed files with 407 additions and 236 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import Alea from "alea";
|
||||
import { max } from "d3";
|
||||
import i18next from "i18next";
|
||||
import {
|
||||
byId,
|
||||
gauss,
|
||||
|
|
@ -141,7 +142,10 @@ class ProvinceModule {
|
|||
: Names.getState(Names.getCultureShort(c), c);
|
||||
const formName = rw(form);
|
||||
form[formName] += 10;
|
||||
const fullName = `${name} ${formName}`;
|
||||
const fullName = i18next.t("{{provinceName}} {{provinceForm}}", {
|
||||
provinceName: name,
|
||||
provinceForm: i18next.t(formName),
|
||||
});
|
||||
const color = getMixedColor(s.color!);
|
||||
const kinship = nameByBurg ? 0.8 : 0.4;
|
||||
const type = Burgs.getType(center, burg.port);
|
||||
|
|
@ -321,7 +325,10 @@ class ProvinceModule {
|
|||
return rw(this.forms["Wild"]);
|
||||
})();
|
||||
|
||||
const fullName = `${name} ${formName}`;
|
||||
const fullName = i18next.t("{{provinceName}} {{provinceForm}}", {
|
||||
provinceName: name,
|
||||
provinceForm: i18next.t(formName),
|
||||
});
|
||||
|
||||
const dominion = colony
|
||||
? P(0.95)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue