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

Minor translation and log fixes #6154

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/main/java/bisq/core/app/BisqSetup.java
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ private void checkTorFirewall() {
return;
}
privateNotificationManager.sendPing(onionAddress, stringResult -> {
log.warn(stringResult);
log.info(stringResult);
if (stringResult.contains("failed")) {
firewallIssueHandler.run();
}
Expand Down
4 changes: 0 additions & 4 deletions core/src/main/resources/i18n/displayStrings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@ market.tabs.spreadPayment=Offers by Payment Method
market.tabs.trades=Trades

# OfferBookChartView
market.offerBook.buyAltcoin=Buy {0}
market.offerBook.sellAltcoin=Sell {0}
market.offerBook.buyWith=Buy {0}
market.offerBook.sellWith=Sell {0}
market.offerBook.sellOffersHeaderLabel=Sell {0} to
market.offerBook.buyOffersHeaderLabel=Buy {0} from
market.offerBook.buy=I want to buy bitcoin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ public Number fromString(String string) {
String viewPriceCurrencyCode = CurrencyUtil.isCryptoCurrency(code) ? Res.getBaseCurrencyCode() : code;

sellHeaderLabel.setText(Res.get("market.offerBook.sellOffersHeaderLabel", viewBaseCurrencyCode));
sellButton.updateText(Res.get("market.offerBook.sellWith", viewBaseCurrencyCode, viewPriceCurrencyCode));
sellButton.updateText(Res.get("shared.sellCurrency", viewBaseCurrencyCode, viewPriceCurrencyCode));

buyHeaderLabel.setText(Res.get("market.offerBook.buyOffersHeaderLabel", viewBaseCurrencyCode));
buyButton.updateText(Res.get("market.offerBook.buyWith", viewBaseCurrencyCode, viewPriceCurrencyCode));
buyButton.updateText(Res.get("shared.buyCurrency", viewBaseCurrencyCode, viewPriceCurrencyCode));

priceColumnLabel.set(Res.get("shared.priceWithCur", viewPriceCurrencyCode));

Expand Down