]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Assuming letters can be translated in some languages, undo fix of decimals translation
authorMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 04:55:21 +0000 (15:55 +1100)
committerMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 04:55:21 +0000 (15:55 +1100)
qcsrc/menu/xonotic/slider_resolution.c

index 51f15aa32a3c3c4164d9b94d45012695dfbf5f50..66f48f9e58ef2bf26f838e6736889632fe659d1a 100644 (file)
@@ -113,10 +113,10 @@ void XonoticResolutionSlider_addResolution(entity me, float w, float h, float pi
                                bestdenom = denom;
                        }
                }
-               me.insertValue(me, i, strzone(sprintf("%dx%d (%d:%d)", w, h, bestnum, bestdenom)), strzone(strcat(ftos(w), " ", ftos(h), " ", ftos(pixelheight))));
+               me.insertValue(me, i, strzone(sprintf(_("%dx%d (%d:%d)"), w, h, bestnum, bestdenom)), strzone(strcat(ftos(w), " ", ftos(h), " ", ftos(pixelheight))));
        }
        else
-               me.insertValue(me, i, strzone(sprintf("%dx%d", w, h)), strzone(strcat(ftos(w), " ", ftos(h), " ", ftos(pixelheight))));
+               me.insertValue(me, i, strzone(sprintf(_("%dx%d"), w, h)), strzone(strcat(ftos(w), " ", ftos(h), " ", ftos(pixelheight))));
 }
 float autocvar_menu_vid_allowdualscreenresolution;
 void XonoticResolutionSlider_configureXonoticResolutionSlider(entity me)