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

Importer now use FileExtensions enum, too, FileDialogs display extension #1737

Merged
merged 2 commits into from
Aug 15, 2016

Conversation

Siedlerchr
Copy link
Member

Grouped Importer in FileExtension
Created test for FileExtensions
File Dialogs now display description and extension

(internal change)

  • Tests created for changes
  • Screenshots added (for bigger UI changes)
  • Manually tested changed features in running JabRef

filefilter

@Siedlerchr Siedlerchr added status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers type: code-quality Issues related to code or architecture decisions labels Aug 14, 2016
JSTYLE(Localization.lang("Style file"), "jstyle"),
LAYOUT(Localization.lang("Custom layout file"), "layout"),
TERMS(Localization.lang("Protected terms file"), "terms"),
TXT(Localization.lang("%0 file", Localization.lang("plain text")), "txt"),
Copy link
Contributor

Choose a reason for hiding this comment

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

There is already an old translation string for "plain text", right? If not, "Plain text" would be preferred.

Copy link
Contributor

Choose a reason for hiding this comment

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

Or maybe even go for "Plain text file" now that I read the whole line of code. :-)

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I just noticed, we have already both cases of Plain text in the translations.

@oscargus
Copy link
Contributor

Looks good to me! Some minor comments, but nothing crucial (and I guess Checkstyle will sort one of them out :-)).

Grouped Importer in FileExtension
Created test for FileExtions
…ailing

Plain text with uppercase P

Importer now use FileExtensions enum, too
Grouped Importer in FileExtension
Created test for FileExtions
@Siedlerchr
Copy link
Member Author

Anything else, otherwise I would merge it in. (Codacy probably failed because I rebased/squashed some things)

@Siedlerchr Siedlerchr merged commit 58e5c93 into JabRef:master Aug 15, 2016
@Siedlerchr Siedlerchr deleted the importextension branch August 15, 2016 13:43
ayanai1 pushed a commit to ayanai1/jabref that referenced this pull request Sep 5, 2016
…ion (JabRef#1737)

* Importer now use FileExtensions enum, too
Grouped Importer in FileExtension
Created test for FileExtions

* Move FileExtensions to logic.util to prevent architecture test from failing
Plain text with uppercase P

Importer now use FileExtensions enum, too
Grouped Importer in FileExtension
Created test for FileExtions
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 type: code-quality Issues related to code or architecture decisions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants