Bwidget Source Code
Check-in [a4bd3808d2]
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:* font.tcl, lang/*.rc: Add translation possibility for color picker button of font dialog. Used google translater to translate "Color" to all languages. Please check if this is correct. [Bug 3289573] reported by Rezso
Timelines: family | ancestors | descendants | both | bwidget
Files: files | file ages | folders
SHA1: a4bd3808d27cf7846a5cf8c02c201378dc029a0f
User & Date: oehhar 2011-04-20 05:20:51
Context
2011-04-20
11:30
lang/hu.rc by Rezso updated check-in: dfa30f0e1c user: oehhar tags: bwidget
05:20
* font.tcl, lang/*.rc: Add translation possibility for color picker button of font dialog. Used google translater to translate "Color" to all languages. Please check if this is correct. [Bug 3289573] reported by Rezso check-in: a4bd3808d2 user: oehhar tags: bwidget
2011-04-19
15:16
lang/*.rc [Bug 3289573] : Add translation (templates) for the Color picker widget text "Base colors" and "User colors". Only german and english locals are provided so far. check-in: 8abd9730a0 user: oehhar tags: bwidget
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.








1
2
3
4
5
6
7






2011-04-19 Harald Oehlmann <[email protected]>

    * lang/*.rc [Bug 3289573] : Add translation (templates) for the
    Color picker widget text "Base colors" and "User colors".
    Only german and english locals are provided so far.

2011-02-14 Harald Oehlmann <[email protected]>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
2011-04-19 Harald Oehlmann <[email protected]>

    * font.tcl, lang/*.rc: Add translation possibility
    for color picker button of font dialog.
    Used google translater to translate "Color" to all languages.
    Please check if this is correct. [Bug 3289573] reported by Rezso

2011-04-19 Harald Oehlmann <[email protected]>

    * lang/*.rc [Bug 3289573] : Add translation (templates) for the
    Color picker widget text "Base colors" and "User colors".
    Only german and english locals are provided so far.

2011-02-14 Harald Oehlmann <[email protected]>

Changes to font.tcl.

223
224
225
226
227
228
229




230
231
232
233
234
235
236
237
238
			-highlightthickness 1 -takefocus 0 \
			-highlightbackground black \
			-highlightcolor black]
			
		set script "set [list SelectFont::${path}(fontcolor)] \[tk_chooseColor -parent $colf.button -initialcolor \[set [list SelectFont::${path}(fontcolor)]\]\];\
			SelectFont::_update [list $path]"
		




		set but  [button $colf.button -command $script \
			-text "Color..."]
		
		$lab configure -foreground $thecolor
		$frc configure -bg $thecolor
		
		pack $but -side left
		pack $frc -side left -padx 5
		






>
>
>
>

|







223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
			-highlightthickness 1 -takefocus 0 \
			-highlightbackground black \
			-highlightcolor black]
			
		set script "set [list SelectFont::${path}(fontcolor)] \[tk_chooseColor -parent $colf.button -initialcolor \[set [list SelectFont::${path}(fontcolor)]\]\];\
			SelectFont::_update [list $path]"
		
		set name [lindex [BWidget::getname colorPicker] 0]
		if { $name == "" } {
			set name "Color..."
		}
		set but  [button $colf.button -command $script \
			-text $name]
		
		$lab configure -foreground $thecolor
		$frc configure -bg $thecolor
		
		pack $but -side left
		pack $frc -side left -padx 5
		

Changes to lang/da.rc.

14
15
16
17
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
*cancelName:  &Cancel
*yesName:     &Ja
*noName:      &Nej


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       Fed
*italicName:     Kursiv
*underlineName:  Understreg
*overstrikeName: Overstreg
*fontName:       &Font
*sizeName:       &Strrelse
*styleName:      St&il


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Brugernavn
*passwordName: &Password








|
|
|
|
|
|
|
>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*cancelName:  &Cancel
*yesName:     &Ja
*noName:      &Nej


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          Fed
*italicName:        Kursiv
*underlineName:     Understreg
*overstrikeName:    Overstreg
*fontName:          &Font
*sizeName:          &Strrelse
*styleName:         St&il
*colorPickerName:   F&arve...

! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Brugernavn
*passwordName: &Password


Changes to lang/de.rc.

14
15
16
17
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
*cancelName:  &Abbrechen
*yesName:     &Ja
*noName:      &Nein


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       Fett
*italicName:     Kursiv
*underlineName:  Unterstrichen
*overstrikeName: Durchgestrichen
*fontName:       &Schriftart
*sizeName:       S&chriftgrad
*styleName:      Sc&hriftschnitt


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Login
*passwordName: &Password








|
|
|
|
|
|
|
>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*cancelName:  &Abbrechen
*yesName:     &Ja
*noName:      &Nein


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          Fett
*italicName:        Kursiv
*underlineName:     Unterstrichen
*overstrikeName:    Durchgestrichen
*fontName:          &Schriftart
*sizeName:          S&chriftgrad
*styleName:         Sc&hriftschnitt
*colorPickerName:   &Farbe...

! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Login
*passwordName: &Password


Changes to lang/en.rc.

14
15
16
17
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
*cancelName:  &Cancel
*yesName:     &Yes
*noName:      &No


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       Bold
*italicName:     Italic
*underlineName:  Underline
*overstrikeName: Overstrike
*fontName:       &Font
*sizeName:       &Size
*styleName:      St&yle



! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Login
*passwordName: &Password







|
|
|
|
|
|
|
>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*cancelName:  &Cancel
*yesName:     &Yes
*noName:      &No


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          Bold
*italicName:        Italic
*underlineName:     Underline
*overstrikeName:    Overstrike
*fontName:          &Font
*sizeName:          &Size
*styleName:         St&yle
*colorPickerName:   &Color...


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Login
*passwordName: &Password

Changes to lang/es.rc.

14
15
16
17
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
*okName:       &OK
*cancelName:   &Anular
*yesName:      &S 
*noName:       &No

! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       &Negrita
*italicName:     &Cursiva
*underlineName:  &Subrayado
*overstrikeName: &Tachado
*fontName:       &Fuente
*sizeName:       &Tamao
*styleName:      &Estilo



! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    Nombre de &usuario
*passwordName: &Contrasea 







|
|
|
|
|
|
|
>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*okName:       &OK
*cancelName:   &Anular
*yesName:      &S 
*noName:       &No

! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          &Negrita
*italicName:        &Cursiva
*underlineName:     &Subrayado
*overstrikeName:    &Tachado
*fontName:          &Fuente
*sizeName:          &Tamao
*styleName:         &Estilo
*colorPickerName:   &Color...


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    Nombre de &usuario
*passwordName: &Contrasea 

Changes to lang/fr.rc.

13
14
15
16
17
18
19
20
21
22
23
24
25
26

27
28
29
30
31
32
33
*okName:       &OK
*cancelName:   &Annuler
*yesName:      &Oui
*noName:       &Non

! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       &Gras
*italicName:     &Italique
*underlineName:  &Soulign
*overstrikeName: &Barr
*fontName:       &Police
*sizeName:       &Taille
*styleName:      St&yle



! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    Nom de l'&utilisateur
*passwordName: Mot de &passe







|
|
|
|
|
|
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
*okName:       &OK
*cancelName:   &Annuler
*yesName:      &Oui
*noName:       &Non

! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          &Gras
*italicName:        &Italique
*underlineName:     &Soulign
*overstrikeName:    &Barr
*fontName:          &Police
*sizeName:          &Taille
*styleName:         St&yle
*colorPickerName:   &Couleur...


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    Nom de l'&utilisateur
*passwordName: Mot de &passe

Changes to lang/hu.rc.

14
15
16
17
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
*cancelName:  Még&sem
*yesName:     &Igen
*noName:      &Nem


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       Félkövér
*italicName:     Dőlt
*underlineName:  Aláhúzott
*overstrikeName: Felülírás
*fontName:       &Betűtípus
*sizeName:       &Méret
*styleName:      S&tílus



! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Felhasználónév
*passwordName: &Jelszó







|
|
|
|
|
|
|
>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*cancelName:  Még&sem
*yesName:     &Igen
*noName:      &Nem


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          Félkövér
*italicName:        Dőlt
*underlineName:     Aláhúzott
*overstrikeName:    Felülírás
*fontName:          &Betűtípus
*sizeName:          &Méret
*styleName:         S&tílus
*colorPickerName:   &Color...


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Felhasználónév
*passwordName: &Jelszó

Changes to lang/nl.rc.

14
15
16
17
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
*cancelName:  &Annuleren
*yesName:     &Ja
*noName:      &Nee


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       Vet
*italicName:     Cursief
*underlineName:  Onderstrepen
*overstrikeName: Doorhalen
*fontName:       &Lettertype
*sizeName:       &Grootte
*styleName:      &Stijl



! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Inlognaam
*passwordName: &Wachtwoord







|
|
|
|
|
|
|
>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*cancelName:  &Annuleren
*yesName:     &Ja
*noName:      &Nee


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          Vet
*italicName:        Cursief
*underlineName:     Onderstrepen
*overstrikeName:    Doorhalen
*fontName:          &Lettertype
*sizeName:          &Grootte
*styleName:         &Stijl
*colorPickerName:   &Kleur...


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Inlognaam
*passwordName: &Wachtwoord

Changes to lang/no.rc.

14
15
16
17
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
*cancelName:  &Avbryt
*yesName:     &Ja
*noName:      &Nei


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:       Halvfet
*italicName:     Kursiv
*underlineName:  Understreking
*overstrikeName: Overstryke
*fontName:       &Skrift
*sizeName:       &Strrelse
*styleName:      St&il



! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Logg inn
*passwordName: &Passord







|
|
|
|
|
|
|
>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*cancelName:  &Avbryt
*yesName:     &Ja
*noName:      &Nei


! --- symbolic names of label of SelectFont dialog ----------------------------

*boldName:          Halvfet
*italicName:        Kursiv
*underlineName:     Understreking
*overstrikeName:    Overstryke
*fontName:          &Skrift
*sizeName:          &Strrelse
*styleName:         St&il
*colorPickerName:   &Color...


! --- symbolic names of label of PasswdDlg dialog -----------------------------

*loginName:    &Logg inn
*passwordName: &Passord

Changes to lang/pl.rc.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
! ------------------------------------------------------------------------------

!  pl.rc

!  This file is part of Unifix BWidget Toolkit

!  Definition of english resources

! ------------------------------------------------------------------------------





! --- symbolic names of buttons ------------------------------------------------



*abortName:   &Porzuć

*retryName:   P&onów

*ignoreName:  &Ignoruj

*okName:      &OK

*cancelName:  &Anyluj

*yesName:     &Tak

*noName:      &Nie





! --- symbolic names of label of SelectFont dialog ----------------------------



*boldName:       Pogrubiona

*italicName:     Kursywa

*underlineName:  Podkreślenie

*overstrikeName: Przekreślenie

*fontName:       &Czcionka:

*sizeName:       &Rozmiar:

*styleName:      St&yl czcionki:






! --- symbolic names of label of PasswdDlg dialog -----------------------------



*loginName:    &Login

*passwordName: &Hasło





! --- resource for SelectFont dialog ------------------------------------------



*SelectFont.title:	    Wybór czcionki

*SelectFont.sampletext:	    Przykładowy tekst





! --- resource for MessageDlg dialog ------------------------------------------



*MessageDlg.noneTitle:      Wiadomość

*MessageDlg.infoTitle:      Informacja

*MessageDlg.questionTitle:  Pytanie

*MessageDlg.warningTitle:   Ostrzeżenie

*MessageDlg.errorTitle:     Błąd



! --- resource for PasswdDlg dialog -------------------------------------------



*PasswdDlg.title:  Wpisz login i hasło


! --- symbolic names of label of SelectColor dialog ----------------------------

*baseColorsName: Base colors
*userColorsName: User colors
<

<

<

<

<
<
<




<
<

<

<

<

<

<

<

<
<
<




<
<
|
<
|
<
|
<
|
<
|
<
|
<
|
<
<
<
>




<
<

<

<
<
<




<
<

<

<
<
<




<
<

<

<

<

<


<
<

<
<








1

2

3

4

5



6
7
8
9


10

11

12

13

14

15

16



17
18
19
20


21

22

23

24

25

26

27



28
29
30
31
32


33

34



35
36
37
38


39

40



41
42
43
44


45

46

47

48

49
50


51


52
53
54
55
56
57
58
59
! ------------------------------------------------------------------------------

!  pl.rc

!  This file is part of Unifix BWidget Toolkit

!  Definition of english resources

! ------------------------------------------------------------------------------





! --- symbolic names of buttons ------------------------------------------------



*abortName:   &Porzuć

*retryName:   P&onów

*ignoreName:  &Ignoruj

*okName:      &OK

*cancelName:  &Anyluj

*yesName:     &Tak

*noName:      &Nie





! --- symbolic names of label of SelectFont dialog ----------------------------



*boldName:          Pogrubiona

*italicName:        Kursywa

*underlineName:     Podkreślenie

*overstrikeName:    Przekreślenie

*fontName:          &Czcionka:

*sizeName:          &Rozmiar:

*styleName:         St&yl czcionki:



*colorPickerName:   &Kolor...


! --- symbolic names of label of PasswdDlg dialog -----------------------------



*loginName:    &Login

*passwordName: &Hasło





! --- resource for SelectFont dialog ------------------------------------------



*SelectFont.title:	    Wybór czcionki

*SelectFont.sampletext:	    Przykładowy tekst





! --- resource for MessageDlg dialog ------------------------------------------



*MessageDlg.noneTitle:      Wiadomość

*MessageDlg.infoTitle:      Informacja

*MessageDlg.questionTitle:  Pytanie

*MessageDlg.warningTitle:   Ostrzeżenie

*MessageDlg.errorTitle:     Błąd



! --- resource for PasswdDlg dialog -------------------------------------------



*PasswdDlg.title:  Wpisz login i hasło


! --- symbolic names of label of SelectColor dialog ----------------------------

*baseColorsName: Base colors
*userColorsName: User colors