shithub: riscv

Download patch

ref: bd2ef36d976db0a842e31af309f0ef1439f30a89
parent: 4bad50ce68930c7a1d3136b0970fab73c90483e9
author: Jacob Moody <moody@posixcafe.org>
date: Tue Apr 25 11:56:43 EDT 2023

ktrans: correct 'exit' text (thanks Keegan)

終了 is more appropriate then 出口 in this context.

--- a/sys/src/cmd/ktrans/main.c
+++ b/sys/src/cmd/ktrans/main.c
@@ -386,11 +386,11 @@
 				p.y += f->height;
 			}
 
-			p.x = r.min.x - stringwidth(f, "出口")/2;
+			p.x = r.min.x - stringwidth(f, "終了")/2;
 			p.y = screen->r.max.y - f->height;
 			exitr = Rpt(Pt(0, p.y), screen->r.max);
 			draw(screen, exitr, board, nil, ZP);
-			string(screen, p, text, ZP, f, "出口");
+			string(screen, p, text, ZP, f, "終了");
 			flushimage(display, 1);
 			break;
 		}