Skip to content

Commit

Permalink
Change placeholder string and include editor field
Browse files Browse the repository at this point in the history
  • Loading branch information
boceckts committed Oct 11, 2016
1 parent 6f35ff1 commit 0d654b8
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ private void setupPanel(JabRefFrame frame, BasePanel bPanel, boolean addKeyField
false);
defaultHeight = 0;
} else {
String prompt = (field.equals(FieldName.AUTHOR)) ? Localization.lang("Firstname Lastname and Firstname and Lastname and others") : "";
String prompt = "";
if (field.equals(FieldName.AUTHOR) || field.equals(FieldName.EDITOR)) {
prompt = Localization.lang("Firstname Lastname and Firstname Lastname") + " and others";
}

fieldEditor = new TextArea(field, null, prompt);
bPanel.frame().getGlobalSearchBar().getSearchQueryHighlightObservable().addSearchListener((TextArea) fieldEditor);
defaultHeight = fieldEditor.getPane().getPreferredSize().height;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_da.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=Die_übergebene_Such-ID_ist_leer.
Copy_BibTeX_key_and_link=BibTeX-Key_und_Link_kopieren
empty_BibTeX_key=Leerer_BibTeX-Key
BibLaTeX_field_only=Nur_ein_BibLaTeX-Feld
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=The_given_search_ID_was_empty.
Copy_BibTeX_key_and_link=Copy_BibTeX_key_and_link
empty_BibTeX_key=empty_BibTeX_key
BibLaTeX_field_only=BibLaTeX_field_only
Firstname_Lastname_and_Firstname_and_Lastname_and_others=Firstname_Lastname_and_Firstname_and_Lastname_and_others
Lastname,_Firstname _and_Lastname,_Firstname=Lastname,_Firstname _and_Lastname,_Firstname
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_fa.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=L'Identifiant_de_recherche_entré_était_vide.
Copy_BibTeX_key_and_link=Copier_la_clef_BibTeX_et_le_lien
empty_BibTeX_key=Clef_BibTeX_vide
BibLaTeX_field_only=Champ_BibLaTeX_uniquement
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_in.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_it.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=L'ID_della_ricerca_usato_era_vuoto.
Copy_BibTeX_key_and_link=Copia_la_chiave_e_il_link_BibTeX
empty_BibTeX_key=chiave_BibTeX_vuota
BibLaTeX_field_only=campo_solo_BibLaTeX
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_ja.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_nl.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_no.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_sv.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_tr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=Verilen_arama_IDsi_boştu.
Copy_BibTeX_key_and_link=BibTeX_anahtarı_ve_bağlantısını_kopyala
empty_BibTeX_key=boş_BibTeX_anahtarı
BibLaTeX_field_only=Yalnızca_BibLaTeX_alanı
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_vi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_zh.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2299,4 +2299,4 @@ The_given_search_ID_was_empty.=
Copy_BibTeX_key_and_link=
empty_BibTeX_key=
BibLaTeX_field_only=
Firstname_Lastname_and_Firstname_and_Lastname_and_others=
Lastname,_Firstname _and_Lastname,_Firstname=

0 comments on commit 0d654b8

Please sign in to comment.