text improvements; PL translation update; fixed %y0 in Polish

This commit is contained in:
Zeno Rogue 2018-11-10 20:19:27 +01:00
parent e95d5ea215
commit 02fd627cc5
3 changed files with 69 additions and 3 deletions

View File

@ -1468,7 +1468,7 @@ void refresh_canvas() {
void edit_color_table(colortable& ct, const reaction_t& r = reaction_t()) {
cmode = sm::SIDE;
gamescreen(0);
dialog::init(XLAT("Customize colors and aura"));
dialog::init(XLAT("customize colors and aura"));
for(int i=0; i<isize(ct); i++) {
dialog::addColorItem(its(i), ct[i] << 8, 'a'+i);
@ -1482,7 +1482,7 @@ void edit_color_table(colortable& ct, const reaction_t& r = reaction_t()) {
void show_color_dialog() {
cmode = sm::SIDE | sm::DIALOG_STRICT_X;
gamescreen(0);
dialog::init(XLAT("Customize colors and aura"));
dialog::init(XLAT("customize colors and aura"));
dialog::addColorItem(XLAT("background"), backcolor << 8, 'b');
dialog::add_action([] () { dialog::openColorDialog(backcolor); dialog::colorAlpha = false; dialog::dialogflags |= sm::SIDE; });
@ -1496,7 +1496,7 @@ void show_color_dialog() {
dialog::addColorItem(XLAT("projection boundary"), ringcolor, 'r');
dialog::add_action([] () { dialog::openColorDialog(ringcolor); dialog::dialogflags |= sm::SIDE; });
dialog::addColorItem(XLAT("projection content"), modelcolor, 'c');
dialog::addColorItem(XLAT("projection background"), modelcolor, 'c');
dialog::add_action([] () { dialog::openColorDialog(modelcolor); dialog::dialogflags |= sm::SIDE; });
dialog::addColorItem(XLAT("projection period"), periodcolor, 'p');

View File

@ -7219,3 +7219,68 @@ S("You can change this parameter for a transition from another model to this one
"Możesz zmienić ten parametr, by obejrzeć przejście z innego modelu do tego.")
S("model orientation", "orientacja modelu")
// 10.4z
S("left-handed", "leworęczn%y0")
// formula features
S(
"This lets you specify the projection as a formula f. "
"The formula has access to the value 'z', which is a complex number corresponding to the x,y coordinates in the currently selected model; "
"the point z is mapped to f(z). You can also use the underlying coordinates ux, uy, uz.",
"Tu możesz zdefiniować własną projekcję podając wzór f. "
"Wzór może zależeć od zmiennej 'z', będącej liczbą zespoloną odpowiadającą współrzędnym x,y w obecnie ustawionym modelu; "
"punkt z będzie przekształcony w f(z). Możesz też używać współrzędnych podstawowych ux, uy, uz.")
S("Functions available: %1", "Dostępne funkcje: %1")
S("animate parameters", "animacja parametrów")
S(
"Most parameters can be animated simply by using '..' in their editing dialog. "
"For example, the value of a parameter set to 0..1 will grow linearly from 0 to 1. "
"You can also use functions (e.g. cos(0..2*pi)) and refer to other parameters; "
"parameters 'a' and 'b' exist for this purpose. "
"See the list below for parameters which are currently animated (or changed).",
"Większość parametrów może być animowana w prosty sposób, przez wpisanie '..' w ich pole edycji. "
"Przykładowo, wartość parametru ustawiona na 0..1 będzie rosła liniowa od 0 do 1. "
"Możesz też używać funkcji (np. cos(0..2*pi)) lub odnosić się do innych parametrów; "
"parametry 'a' i 'b' istnieją w tym celu. Poniżej lista parametrów obecnie "
"animowanych (lub zmienionych).")
// color edit dialog
S("customize colors and aura", "Dostosuj kolory i aurę")
S("background", "tło")
S("foreground", "pierwszy plan")
S("projection boundary", "brzeg modelu")
S("projection background", "tło modelu")
S("projection period", "okres modelu")
S("dialogs", "dialogi")
S("canvas colors", "kolory płótna")
S("minefield colors", "kolory pola minowego")
S("distance colors", "kolory odległości")
// extra conformal models
S("rotated hyperboles", "obrócone hiperbole")
S("spiral", "spirala")
S("spiral angle", "kąt spirali")
S("spiral period: x", "okres spirali: x")
S("spiral period: y", "okres spirali: y")
S("match the period of the torus", "dopasuj do okresu torusa")
// extra patterns
S("circles", "koła")
S("radii", "promienie")
S("meridians", "południki")
S("parallels", "równoleżniki")
S("seven-coloring", "siedmiokolorowanie")

View File

@ -138,6 +138,7 @@ void basicrep(string& x) {
rep(x, "%ąłeś0", choose3(playergender(), "ąłeś", "ęłaś", "ęłoś"));
rep(x, "%ógł0", choose3(playergender(), "ógł", "ogła", "ogło"));
rep(x, "%ł0", choose3(playergender(), "ł", "ła", "ło"));
rep(x, "%y0", choose3(playergender(), "y", "a", "e"));
}
if(l == 3) {