Skip to content

Commit

Permalink
Merge pull request #45
Browse files Browse the repository at this point in the history
weblocopenercore-273
  • Loading branch information
benchdoos authored Mar 4, 2023
2 parents 7ece583 + fc581d9 commit 8fa6a2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ Also, you can convert `.webarchive` files into `.html` webpages.**
| Create new | Yes | Yes | Coming soon |
| Generate QR-Code | Yes | Yes | Coming soon |
| Instant URL, QR-Code copy | Yes | Yes | Coming soon |
| `.webloc` support | Yes | Yes | Coming soon |
| `.desktop` support | Yes | Yes | Coming soon |
| `.url` support | No | Yes | Coming soon |
| `.webarchive` support | Yes | Yes | Coming soon |
| Convert `.webloc`, `.url`, `.desktop`, `.webarchive` | Yes | Yes | Coming soon |
| Auto-update | Yes | Yes | Coming soon |
| Open in not default browser | Yes | Yes | Coming soon |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public HtmlTag prepareUpdateInfoHtmlPage(final UpdateInfo updateInfo) {
final List<ExtendedModificationInfo> modifications = prepareRawList(updateInfo);

final Locale locale = Translation.getSelectedLocale();
final String localeName = locale.getLanguage().toLowerCase();
return TagCreator.html(
TagCreator.body(
TagCreator.table(
Expand All @@ -35,8 +36,7 @@ public HtmlTag prepareUpdateInfoHtmlPage(final UpdateInfo updateInfo) {

final Map<String, String> description =
value.modification().description();
final String srcMessage =
description.get(locale.getLanguage().toLowerCase());
final String srcMessage = description.get(localeName);
final String message;
if (StringUtils.isNotBlank(srcMessage)) {
message = srcMessage;
Expand Down

0 comments on commit 8fa6a2f

Please sign in to comment.