gvSIG bugs #2655
Notications mode (Preferences) is not translatable
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Normal | Spent time: | - | |
Assignee: | Joaquín del Cerro Murciano | |||
Category: | - | |||
Target version: | 2.1.0-2251-testing | |||
Severity: | Minor | Add-on version: | ||
gvSIG version: | 2.1.0 | Add-on build: | ||
gvSIG build: | 2233 | Add-on resolve version: | ||
Operative System: | Add-on resolve build: | |||
Keywords: | translations, i18n | Proyecto: | ||
Has patch: | Yes | Hito: | ||
Add-on name: | Unknown |
Associated revisions
Añadidas traducciones a la pagina de preferencias de Notificaciones. refs #2655
History
#1 Updated by Álvaro Anguix almost 10 years ago
- Assignee set to Mario Carrera
#2 Updated by Antonio Falciano over 9 years ago
- Target version set to 2.1.0-2259-rc3
- File NotificationsPage.patch added
Has patch: Yes
#3 Updated by Álvaro Anguix over 9 years ago
- Has patch set to Yes
- Assignee changed from Mario Carrera to Joaquín del Cerro Murciano
#4 Updated by Joaquín del Cerro Murciano over 9 years ago
- Target version changed from 2.1.0-2259-rc3 to 2.1.0-2251-testing
- Status changed from New to Fixed
Hola Antonio,
a la hora de usar las traducciones en gvSIG 2, en lugar de usar "PluginServices.getText"
es rcomendable usar el metodo getTranslation del I18nManeger. Por ejemplo, en lugar de:
public String getTitle() { return PluginServices.getText(this, "notifications_mode"); }
Usar:
public String getTitle() { I18nManager i18nManager = ToolsLocator.getI18nManager(); return i18nManager.getTranslation("notifications_mode"); }
;)
#5 Updated by Antonio Falciano over 9 years ago
Hi Joaquín, you're right. I was (wrongly) inspired by the other preference pages. :P
#6 Updated by Antonio Falciano over 9 years ago
- Status changed from Fixed to Closed