Skip to content

Commit

Permalink
Add localization
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Dec 9, 2015
1 parent 58bec93 commit 8ebb430
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 21 deletions.
14 changes: 0 additions & 14 deletions src/main/java/net/sf/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -2359,13 +2359,6 @@ public void actionPerformed(ActionEvent e) {
}

public class CloseAllDatabasesAction extends MnemonicAwareAction {
public CloseAllDatabasesAction() {
super(IconTheme.JabRefIcon.CLOSE.getSmallIcon());
putValue(Action.NAME, Localization.menuTitle("Close database"));
putValue(Action.SHORT_DESCRIPTION, Localization.lang("Close the current database"));
putValue(Action.ACCELERATOR_KEY, prefs.getKey(KeyBinds.CLOSE_DATABASE));
}

@Override
public void actionPerformed(ActionEvent e) {
while((BasePanel) getCurrentBasePanel() != null) {
Expand All @@ -2375,13 +2368,6 @@ public void actionPerformed(ActionEvent e) {
}

public class CloseOtherDatabasesAction extends MnemonicAwareAction {
public CloseOtherDatabasesAction() {
super(IconTheme.JabRefIcon.CLOSE.getSmallIcon());
putValue(Action.NAME, Localization.menuTitle("Close database"));
putValue(Action.SHORT_DESCRIPTION, Localization.lang("Close the current database"));
putValue(Action.ACCELERATOR_KEY, prefs.getKey(KeyBinds.CLOSE_DATABASE));
}

@Override
public void actionPerformed(ActionEvent e) {
final BasePanel active = (BasePanel) getCurrentBasePanel();
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_da.properties
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ clear_all_groups=fjern_alle_grupper
Clear_fields=Ryd_felter
Clear_highlight=Ryd_fremh\u00e6vning
Close=Luk
Close_Others=
Close_All=
Close_dialog=Luk_dialog
Close_the_current_database=Luk_denne_database
Close_the_help_window=Luk_hj\u00e6lp-vinduet
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/l10n/JabRef_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ Clear_fields=Felder_l\u00f6schen
Clear_highlight=Markierten_l\u00f6schen

Close=Schlie\u00dfen

Close_Others=
Close_All=
Close_dialog=Dialog_schlie\u00dfen

Close_the_current_database=Aktuelle_Datei_schlie\u00dfen
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ Clear_fields=Clear_fields
Clear_highlight=Clear_highlight

Close=Close
Close_Others=Close_Others
Close_All=Close_All

Close_dialog=Close_dialog

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ clear_all_groups=Limpiar_todos_los_grupos
Clear_fields=Limpiar_campos
Clear_highlight=Limpiar_resaltado
Close=Cerrar
Close_Others=
Close_All=
Close_dialog=Cerrar_di\u00e1logo
Close_the_current_database=Cerrar_la_base_de_datos_actual
Close_the_help_window=Cerrar_la_ventana_de_ayuda
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_fa.properties
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ Clear_fields=
Clear_highlight=

Close=
Close_Others=
Close_All=

Close_dialog=

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ clear_all_groups=Vider_tous_les_groupes
Clear_fields=Vider_les_champs
Clear_highlight=Effacer_les_surlignements
Close=Fermer
Close_Others=
Close_All=
Close_dialog=Fermer_la_fen\u00eatre
Close_the_current_database=Fermer_la_base_courante
Close_the_help_window=Fermer_la_fen\u00eatre_d'aide
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_in.properties
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ clear_all_groups=bersihkan_semua_grup
Clear_fields=Bersihkan_beberapa_bidang
Clear_highlight=Bersihkan_highlight
Close=Tutup
Close_Others=
Close_All=
Close_dialog=Tutup_dialog
Close_the_current_database=Tutup_basisdata_yang_sekarang
Close_the_help_window=Tutup_jendela_bantuan
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_it.properties
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ Clear_fields=Annulla_i_campi
# Unsure the translation below
Clear_highlight=Rimuovi_l'evidenziazione
Close=Chiudi
Close_Others=
Close_All=
Close_dialog=Chiudi_la_finestra_di_dialogo
Close_the_current_database=Chiudi_il_database_corrente
Close_the_help_window=Chiudi_la_finestra_di_aiuto
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/l10n/JabRef_ja.properties
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ Clear_fields=\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6d88\u53bb
Clear_highlight=\u7740\u8272\u3092\u89e3\u9664

Close=\u9589\u3058\u308b

Close_Others=
Close_All=
Close_dialog=\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u9589\u3058\u308b

Close_the_current_database=\u73fe\u5728\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9589\u3058\u308b
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/l10n/JabRef_nl.properties
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ Clear_fields=Velden_wissen
Clear_highlight=Wis_selectie

Close=Sluiten

Close_Others=
Close_All=
Close_dialog=Sluit_dialoog

Close_the_current_database=Sluit_de_huidige_database
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/l10n/JabRef_no.properties
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ Clear_fields=Slett_felter
Clear_highlight=Fjern_utheving

Close=Lukk

Close_Others=
Close_All=
Close_dialog=Lukk_dialog

Close_the_current_database=Lukk_denne_databasen
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ clear_all_groups=limpar_todos_os_grupos
Clear_fields=Limpar_campos
Clear_highlight=Limpar_realce
Close=Fechar
Close_Others=
Close_All=
Close_dialog=Fechar_janela_de_di\u00e1logo
Close_the_current_database=Fechar_a_base_de_dados_atual
Close_the_help_window=Fechar_a_janela_de_ajuda
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/l10n/JabRef_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ Clear_fields=Очистить_поля
Clear_highlight=Снять_выделение

Close=Закрыть

Close_Others=
Close_All=
Close_dialog=Закрыть_диалоговое_окно

Close_the_current_database=Закрыть_текущую_БД
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_tr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ clear_all_groups=t\u00fcm_gruplar\u0131_sil
Clear_fields=Alanlar\u0131_sil
Clear_highlight=Vurgulamay\u0131_sil
Close=Kapat
Close_Others=
Close_All=
Close_dialog=Dialo\u011fu_kapat
Close_the_current_database=G\u00fcncel_veritaban\u0131n\u0131_kapat
Close_the_help_window=Yard\u0131m_penceresini_kapat
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/l10n/JabRef_vi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ Clear_fields=X\u00f3a_c\u00e1c_tr\u01b0\u1eddng
Clear_highlight=X\u00f3a_ph\u1ea7n_l\u00e0m_n\u1ed5i

Close=\u0110\u00f3ng

Close_Others=
Close_All=
Close_dialog=\u0110\u00f3ng_h\u1ed9p_tho\u1ea1i

Close_the_current_database=\u0110\u00f3ng_CSDL_hi\u1ec7n_t\u1ea1i
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/l10n/JabRef_zh.properties
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ Clear_fields=\u6e05\u9664\u57df\u5185\u5bb9
Clear_highlight=\u6e05\u9664\u9ad8\u4eae

Close=\u5173\u95ed

Close_Others=
Close_All=
Close_dialog=\u5173\u95ed\u5bf9\u8bdd\u6846

Close_the_current_database=\u5173\u95ed\u5f53\u524d\u6570\u636e\u5e93
Expand Down

0 comments on commit 8ebb430

Please sign in to comment.