Skip to content

Commit 1f89a5a

Browse files
committed
Fix localization
1 parent 614a0ff commit 1f89a5a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

jablib/src/main/java/org/jabref/logic/git/util/GitInitService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ public static void initRepoAndSetRemote(@NonNull Path bibPath, @NonNull String r
2525
Optional<Path> outerRoot = GitHandler.findRepositoryRoot(expectedRoot);
2626
if (outerRoot.isPresent() && !outerRoot.get().equals(expectedRoot)) {
2727
throw new JabRefException(
28-
Localization.lang("This library is inside another Git repository") + "\n" +
29-
Localization.lang("To sync this library independently, move it into its own folder (one library per repo) and try again.")
28+
Localization.lang("This library is inside another Git repository\nTo sync this library independently, move it into its own folder (one library per repo) and try again.")
3029
);
3130
}
3231

jablib/src/main/resources/l10n/JabRef_en.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3217,8 +3217,7 @@ Git\ Pull\ Failed=Git Pull Failed
32173217
Share\ library\ to\ GitHub=Share library to GitHub
32183218
Share\ this\ library\ to\ GitHub=Share this library to GitHub
32193219
GitHub\ share\ failed=GitHub share failed
3220-
This\ library\ is\ inside\ another\ Git\ repository=This library is inside another Git repository
3221-
To\ sync\ this\ library\ independently,\ move\ it\ into\ its\ own\ folder\ (one\ library\ per\ repo)\ and\ try\ again.=To sync this library independently, move it into its own folder (one library per repo) and try again.
3220+
This\ library\ is\ inside\ another\ Git\ repository\nTo\ sync\ this\ library\ independently,\ move\ it\ into\ its\ own\ folder\ (one\ library\ per\ repo)\ and\ try\ again.=This library is inside another Git repository\nTo sync this library independently, move it into its own folder (one library per repo) and try again.
32223221
An\ unexpected\ Git\ error\ occurred\:\ %0=An unexpected Git error occurred: %0
32233222
Cannot\ pull\ from\ Git\:\ No\ file\ is\ associated\ with\ this\ library.=Cannot pull from Git: No file is associated with this library.
32243223
Commit=Commit

0 commit comments

Comments
 (0)