Skip to content

Commit

Permalink
Merge pull request #6154 from ripcurlx/minor-translation-and-log-fixes
Browse files Browse the repository at this point in the history
Minor translation and log fixes
  • Loading branch information
ripcurlx authored Apr 22, 2022
2 parents 0466f41 + 5f41a3f commit 967acb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
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

0 comments on commit 967acb0

Please sign in to comment.