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

LaTeX is LaTeX - and not LaTex #5978

Merged
merged 4 commits into from
Feb 25, 2020
Merged

LaTeX is LaTeX - and not LaTex #5978

merged 4 commits into from
Feb 25, 2020

Conversation

koppor
Copy link
Member

@koppor koppor commented Feb 21, 2020

Fix casing of "LaTeX" --> either "Latex" (code) or "LaTeX" (code comments, user-facing)

Guys, don't trigger my OCD, please: it's LaTeX, not lATEX, lATex, lAtEx, lAteX, laTEx, laTeX, latEX, latex, LaTEX, LaTex, LatEx, LateX, LAtEX, LAtex, LATEx, LATeX, lATEx, lATeX, lAtEX, lAtex, laTEX, laTex, latEx, lateX, LaTEx, LatEX, Latex, LAtEx, LAteX, LATEX or LATex. #TeXLaTeX

— Paulo Cereda (@paulocereda) February 18, 2020

In the Java code, one word should start with a capital letter followed by lower capital letters. See https://google.github.io/styleguide/javaguide.html#s5.3-camel-case for details. - I fixed that, too.

Regarding the user of JabRef, I changed it to "LaTeX"

@koppor koppor added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Feb 21, 2020
@@ -66,7 +66,7 @@ public ParseTexDialogViewModel(BibDatabaseContext databaseContext, DialogService
this.taskExecutor = taskExecutor;
this.preferencesService = preferencesService;
this.fileMonitor = fileMonitor;
this.texDirectory = new SimpleStringProperty(databaseContext.getMetaData().getLaTexFileDirectory(preferencesService.getUser())
this.texDirectory = new SimpleStringProperty(databaseContext.getMetaData().getLatexFileDirectory(preferencesService.getUser())
Copy link
Member

Choose a reason for hiding this comment

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

Why not also 'this.latexDirectory' and ParseLatexDialogViewModel.java?

Copy link
Member Author

Choose a reason for hiding this comment

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

I will do that in a follow-up PR to keep things going.

@koppor koppor removed the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Feb 21, 2020
@calixtus
Copy link
Member

So let's merge... ?

@calixtus
Copy link
Member

calixtus commented Feb 25, 2020

Localization test is failing...

Test keyValueShouldBeEqualForEnglishPropertiesMessages() FAILED
org.opentest4j.AssertionFailedError: expected: <LaTeX file directory=LaTeX file directory> but was: <LaTeX file directory=LaTex file directory>

@Siedlerchr
Copy link
Member

Please no more l10n changes. We have a couple of them at 100%

@koppor koppor merged commit 2e98c66 into master Feb 25, 2020
@koppor koppor deleted the fix-latex-spelling branch February 25, 2020 20:52
@koppor
Copy link
Member Author

koppor commented Feb 25, 2020

I kept them at 100% at #6020. Was not sooo hard to go through the languages and use Crowdin's translation memory.

@koppor koppor mentioned this pull request Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants