Revision 213
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/java/org/gvsig/fortunecookies/app/mainplugin/FortuneCookieExtension.java | ||
---|---|---|
73 | 73 |
WindowManager wm = ToolsSwingLocator.getWindowManager(); |
74 | 74 |
wm.showWindow( |
75 | 75 |
panel.asJComponent(), |
76 |
i18nManager.getTranslation("_Fortune_cookie"), |
|
76 |
i18nManager.getTranslation("_Fortune_cookies"),
|
|
77 | 77 |
WindowManager.MODE.WINDOW |
78 | 78 |
); |
79 | 79 |
|
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/resources-plugin/i18n/text.properties | ||
---|---|---|
1 |
# Traducciones de este plugin |
|
2 |
_Fortune_cookies=Galletas de la fortuna |
|
3 |
_Show_fortune_cookie_messaje=Mostrar un mensaje de Galleta de la Fortuna |
|
4 |
# Traducciones de librerias que aporta este plugin |
|
5 |
# Las traducciones especificadas en el plugin tienen prioridad sobre |
|
6 |
# las que incluye la propia libreria. |
|
7 |
_Close=Cerrar |
|
8 |
_Fortune_cookie_message=Mensage de la galleta de la fortuna |
|
9 |
_Cant_get_fortune_cookie_message=No puedo obtener el mensaje de la galleta de la fortuna |
|
10 |
_Fortune_cookie=Galleta de la fortuna |
|
0 | 11 |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties | ||
---|---|---|
1 |
# Translations to this plugin |
|
2 |
_Fortune_cookies=Fortune cookies |
|
3 |
# Translations from librerias of this plugin_ |
|
4 |
Close=Close |
|
5 |
_Fortune_cookie_message=Fortune cookie message |
|
6 |
_Cant_get_fortune_cookie_message=Can't get fortume cookie message |
|
7 |
_Fortune_cookie=Fortune cookie |
|
0 | 8 |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/resources-plugin/config.xml | ||
---|---|---|
35 | 35 |
|
36 | 36 |
<action |
37 | 37 |
name= "tools-show-fortune-cookie" |
38 |
label="_Show_a_fortune_cookie"
|
|
39 |
tooltip="_Show_a_fortune_cookie"
|
|
38 |
label="_Show_fortune_cookie_messaje"
|
|
39 |
tooltip="_Show_fortune_cookie_messaje"
|
|
40 | 40 |
action-command="tools-show-fortune-cookie" |
41 | 41 |
icon="tools-show-fortune-cookie" |
42 |
position="100100000"
|
|
42 |
position="001009000000"
|
|
43 | 43 |
accelerator="" |
44 | 44 |
/> |
45 | 45 |
|
46 | 46 |
<menu |
47 |
text="tools/_Show_fortune_cookie"
|
|
47 |
text="tools/_Fortune_cookies/_Show_fortune_cookie_messaje"
|
|
48 | 48 |
name="tools-show-fortune-cookie" |
49 | 49 |
/> |
50 | 50 |
|
... | ... | |
56 | 56 |
|
57 | 57 |
</extensions> |
58 | 58 |
|
59 |
</plugin-config> |
|
59 |
</plugin-config> |
Also available in: Unified diff