Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change "Recent Files" to "Recent Databases" #2103

Merged
merged 6 commits into from
Oct 3, 2016

Conversation

mairdl
Copy link
Contributor

@mairdl mairdl commented Sep 30, 2016

This is a followup of #1988.

In the sense of the PR mentioned above, I changed "Recent files" to "Recent databases". Since it only displays recently opened databases.

This is the file menu after the changes:
recentdatabase

As you can see it fits in with the rest of the menu. One could say change the file menu to the database menu, but I think keeping the file menu named as it is, is better because it stays consistent with other programms.

Furthermore the issue #2095 seems to be related.

  • Change in CHANGELOG.md described
  • Screenshots added (for bigger UI changes)
  • Manually tested changed features in running JabRef
  • If you changed the localization: Did you run gradle localizationUpdate?
  • internal qs

Copy link
Contributor

@boceckts boceckts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments but generally LGTM 👍

@@ -22,7 +22,7 @@


public FileHistoryMenu(JabRefPreferences prefs, JabRefFrame frame) {
String name = Localization.menuTitle("Recent files");
String name = Localization.menuTitle("Recent_databases");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Underscore is not needed in when using translations in code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@@ -56,7 +56,7 @@ Paste=&Paste
Preferences=&Preferences
Previous_tab=&Previous_tab
Quit=&Quit
Recent_files=&Recent_files
Recent_databases=Recent_databases
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the & sign in front of the 'R' of the translated string as before. In the menu properties this indicates which letter should be used as mnemonic for the underlying action.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see i will correct it

@@ -56,7 +56,7 @@ Paste=&Einfügen
Preferences=&Einstellungen
Previous_tab=&Vorheriger_Tab
Quit=&Beenden
Recent_files=&Zuletzt_geöffnete_Dateien
Recent_databases=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a German translation as I think this was the whole idea of the linked pr.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes sure

@@ -56,7 +56,7 @@ Paste=&Pegar
Preferences=&Preferencias
Previous_tab=&Pestaña_anterior
Quit=&Salir
Recent_files=Bases_de_datos_&recientes
Recent_databases=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only the key should be changed, not the values. We have no clue, whether all the other translations use a translation of "File" or "Database". Even though, some language use "File", I lean towards a more complete translation instead of having an incomplete one. - In the concrete case here "Bases de datos" seems to be the translation of "databases" and has for sure to be kept.

So, please, just change the key and do not remove the translation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if we leave the old translations like they are now, no one feels like imediatly updating the translation. By removing them completly the need to change ist bigger.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boceckts what do you think?

@boceckts
Copy link
Contributor

boceckts commented Oct 2, 2016

As @koppor pointed out in some languages this is already translated as "recent databases". So it is probably better to leave the already translated strings. Also you don't know if in different languages the other database related strings are always translated as "database" and not file as it was the case in the german translation.

On Oct 2, 2016, 16:17, at 16:17, Daniel Mair notifications@github.com wrote:

mairdl commented on this pull request.

@@ -56,7 +56,7 @@ Paste=&Pegar
Preferences=&Preferencias
Previous_tab=&Pestaña_anterior
Quit=&Salir
-Recent_files=Bases_de_datos_&recientes
+Recent_databases=

@boceckts what do you think?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2103

@mairdl
Copy link
Contributor Author

mairdl commented Oct 2, 2016

Ok, in that case i will "translate" them. 💃

@boceckts boceckts added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Oct 2, 2016
@boceckts boceckts changed the title [WIP] Change "Recent Files" to "Recent Databases" Change "Recent Files" to "Recent Databases" Oct 2, 2016
@tobiasdiez tobiasdiez closed this Oct 3, 2016
@tobiasdiez tobiasdiez reopened this Oct 3, 2016
@tobiasdiez tobiasdiez merged commit 565676c into JabRef:master Oct 3, 2016
@tobiasdiez
Copy link
Member

LGTM 👍

zesaro pushed a commit to zesaro/jabref that referenced this pull request Nov 22, 2016
* Change recent files to recent databases

* localizationUpdate

* describe changes in CHANGELOG.md

* localization update

* Fix internal qs comments

* Add old translation to the new key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants