fixed typo 'halfplane'; added a note when shaderside projections are 2D only for now; translations updated

This commit is contained in:
Zeno Rogue 2018-11-19 20:52:58 +01:00
parent e25bc8e455
commit 1baabab161
3 changed files with 12 additions and 1 deletions

View File

@ -731,7 +731,7 @@ namespace conformal {
if(pmodel == mdHalfplane) {
dialog::addSelItem(XLAT("half-plane scale"), fts(halfplane_scale), 'b');
dialog::add_action([] () {
dialog::editNumber(model_orientation, 0, 2, 0.25, 1, XLAT("halfplane scale"), "");
dialog::editNumber(model_orientation, 0, 2, 0.25, 1, XLAT("half-plane scale"), "");
});
}
@ -839,6 +839,8 @@ namespace conformal {
dialog::addBoolItem(XLAT("use GPU to compute projections"), vid.consider_shader_projection, 'G');
if(vid.consider_shader_projection && !shaderside_projection)
dialog::lastItem().value = XLAT("N/A");
if(vid.consider_shader_projection && shaderside_projection && pmodel)
dialog::lastItem().value += XLAT(" (2D only)");
dialog::add_action([] { vid.consider_shader_projection = !vid.consider_shader_projection; });
menuitem_sightrange('R');

View File

@ -7530,3 +7530,8 @@ S("radii", "polomìry")
S("meridians", "poledníky")
S("parallels", "rovnobìžky")
S("seven-coloring", "sedmibarva")
S("half-plane scale", "polorovinové měřítko")
S("use GPU to compute projections", "použít GPU k výpočtu projekcí")
S("N/A", "nedostupné")
S(" (2D only)", " (pouze 2D)")

View File

@ -7284,3 +7284,7 @@ S("meridians", "południki")
S("parallels", "równoleżniki")
S("seven-coloring", "siedmiokolorowanie")
S("half-plane scale", "skala półpłaszczyzny")
S("use GPU to compute projections", "obliczanie projekcji przy użyciu GPU")
S("N/A", "niedostępne")
S(" (2D only)", " (tylko 2D)")