adjusted translations for read/write two line thing

svn: r5631
This commit is contained in:
Robby Findler 2007-02-17 21:10:59 +00:00
parent d83826c513
commit d59f197c05
7 changed files with 38 additions and 20 deletions

View File

@ -287,12 +287,18 @@
(send dc set-pen (send the-pen-list find-or-create-pen line-color 1 line-style)) (send dc set-pen (send the-pen-list find-or-create-pen line-color 1 line-style))
(send dc set-brush (send the-brush-list find-or-create-brush bg-color bg-style)) (send dc set-brush (send the-brush-list find-or-create-brush bg-color bg-style))
(send dc draw-rectangle 0 0 w h) (send dc draw-rectangle 0 0 w h)
(send dc draw-text str1 (cond
(- (/ w 2) (/ tw1 2)) [(string=? str2 "")
(- (* h 1/2) th1)) (send dc draw-text str1
(send dc draw-text str2 (- (/ w 2) (/ tw1 2))
(- (/ w 2) (/ tw2 2)) (- (* h 1/2) (/ th1 2)))]
(* h 1/2))))]) [else
(send dc draw-text str1
(- (/ w 2) (/ tw1 2))
(- (* h 1/2) th1))
(send dc draw-text str2
(- (/ w 2) (/ tw2 2))
(* h 1/2))])))])
(if locked? (if locked?
(draw locked-message-line1 locked-message-line2 (draw locked-message-line1 locked-message-line2
"yellow" 'solid "black" 'solid) "yellow" 'solid "black" 'solid)
@ -310,8 +316,8 @@
[(wu2 hu2 _7 _8) (send dc get-text-extent unlocked-message-line2)]) [(wu2 hu2 _7 _8) (send dc get-text-extent unlocked-message-line2)])
(stretchable-width #f) (stretchable-width #f)
(stretchable-height #t) (stretchable-height #t)
(min-width (inexact->exact (floor (max wl1 wl2 wu1 wu2)))) (min-width (inexact->exact (floor (+ 2 (max (+ wl1 2) (+ wl2 2) wu1 wu2)))))
(min-height (inexact->exact (floor (+ hu1 hu2)))))))) (min-height (inexact->exact (floor (+ 2 hu1 hu2))))))))
(define status-line<%> (define status-line<%>
(interface (basic<%>) (interface (basic<%>)

View File

@ -196,8 +196,10 @@ please adhere to these guidelines:
;;; info bar at botttom of drscheme frame ;;; info bar at botttom of drscheme frame
(collect-button-label "GC") (collect-button-label "GC")
(read-only "Skrivebeskyttet") (read-only-line1 "Skrivebeskyttet")
(read/write "Læs/Skriv") (read-only-line2 "")
(read/write-line1 "Læs/")
(read/write-line2 "Skriv")
(auto-extend-selection "Auto-udvid") (auto-extend-selection "Auto-udvid")
(overwrite "Overskriv") (overwrite "Overskriv")
(running "kører") (running "kører")

View File

@ -81,8 +81,10 @@
;;; info bar at botttom of drscheme frame ;;; info bar at botttom of drscheme frame
(collect-button-label "GC") (collect-button-label "GC")
(read-only "Alleen lezen") (read-only-line1 "Alleen")
(read/write "Lezen/Schrijven") (read-only-line2 "lezen")
(read/write-line1 "Lezen/")
(read/write-line2 "Schrijven")
(auto-extend-selection "Auto-extend") ; <**> -- when does this appear? (auto-extend-selection "Auto-extend") ; <**> -- when does this appear?
(overwrite "Vervang") (overwrite "Vervang")
(running "Bezig") (running "Bezig")

View File

@ -196,8 +196,10 @@
;;; info bar at botttom of drscheme frame ;;; info bar at botttom of drscheme frame
(collect-button-label "Ramassage") ; de miettes (collect-button-label "Ramassage") ; de miettes
(read-only "Lecture seulement") (read-only-line1 "Lecture")
(read/write "Lecture/écriture") (read-only-line2 "seulement")
(read/write-line1 "Lecture/")
(read/write-line2 "écriture")
(auto-extend-selection "Autosélection") ; "Sélection auto-étendable" ? (auto-extend-selection "Autosélection") ; "Sélection auto-étendable" ?
(overwrite "Correction") ; vs Insertion ? surimpression ? (overwrite "Correction") ; vs Insertion ? surimpression ?
(running "en cours") (running "en cours")

View File

@ -98,8 +98,10 @@
;;; info bar at botttom of drscheme frame ;;; info bar at botttom of drscheme frame
(collect-button-label "GC") (collect-button-label "GC")
(read-only "Schreibgeschützt") (read-only-line1 "Schreibgeschützt")
(read/write "Lesen/Schreiben") (read-only-line2 "")
(read/write-line1 "Lesen/")
(read/write-line2 "Schreiben")
(auto-extend-selection "Automatisch erweitern") (auto-extend-selection "Automatisch erweitern")
(overwrite "Überschreiben") (overwrite "Überschreiben")
(running "Programm läuft") (running "Programm läuft")

View File

@ -196,8 +196,10 @@ please adhere to these guidelines:
;;; info bar at botttom of drscheme frame ;;; info bar at botttom of drscheme frame
(collect-button-label "GC") (collect-button-label "GC")
(read-only "Apenas Leitura") (read-only-line1 "Apenas")
(read/write "Leitura/Escrita") (read-only-line2 "Leitura")
(read/write-line1 "Leitura/")
(read/write-line2 "Escrita")
(auto-extend-selection "Auto-Extensível") (auto-extend-selection "Auto-Extensível")
(overwrite "Reescrever") (overwrite "Reescrever")
(running "a executar") (running "a executar")

View File

@ -104,8 +104,10 @@
;;; info bar at botttom of drscheme frame ;;; info bar at botttom of drscheme frame
(collect-button-label "Recolectar") (collect-button-label "Recolectar")
(read-only "Sólo lectura") (read-only-line1 "Sólo")
(read/write "Lectura/Escritura") (read-only-line2 "lectura")
(read/write-line1 "Lectura/")
(read/write-line2 "Escritura")
(auto-extend-selection "Selección Auto-Extendida") (auto-extend-selection "Selección Auto-Extendida")
(overwrite "Sobreescribir") (overwrite "Sobreescribir")
(running "ejecutando") (running "ejecutando")