git: 9front

Download patch

ref: 26289df5e7adc49fa24c1d71c4a077abc368bfd3
parent: e7e2a87e65fcaaf39052f4b11451e281a787daae
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;
 		}
--