mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 06:41:41 +01:00
Add votes as shared translation
This commit is contained in:
parent
ce731564a3
commit
83770dbfd4
3 changed files with 21 additions and 4 deletions
|
@ -200,6 +200,7 @@ shared.sellerUpperCase=Seller
|
|||
shared.new=NEW
|
||||
shared.blindVoteTxId=Blind vote transaction ID
|
||||
shared.proposal=Proposal
|
||||
shared.votes=Votes
|
||||
|
||||
####################################################################
|
||||
# UI views
|
||||
|
@ -1317,7 +1318,6 @@ dao.voteReveal.txPublished=Your vote reveal transaction with transaction ID {0}
|
|||
dao.results.cycles.header=Cycles
|
||||
dao.results.cycles.table.header.cycle=Cycle
|
||||
dao.results.cycles.table.header.numProposals=Proposals
|
||||
dao.results.cycles.table.header.numVotes=Votes
|
||||
dao.results.cycles.table.header.voteWeight=Vote weight
|
||||
dao.results.cycles.table.header.issuance=Issuance
|
||||
|
||||
|
|
|
@ -541,7 +541,7 @@ public class VoteResultView extends ActivatableView<GridPane, Void> implements D
|
|||
column.setComparator(Comparator.comparing(CycleListItem::getNumProposals));
|
||||
votesTableView.getColumns().add(column);
|
||||
|
||||
column = new AutoTooltipTableColumn<>(Res.get("dao.results.cycles.table.header.numVotes"));
|
||||
column = new AutoTooltipTableColumn<>(Res.get("shared.votes"));
|
||||
column.setMinWidth(70);
|
||||
column.setMaxWidth(70);
|
||||
column.setCellValueFactory((item) -> new ReadOnlyObjectWrapper<>(item.getValue()));
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
/*
|
||||
* This file is part of Bisq.
|
||||
*
|
||||
* Bisq is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or (at
|
||||
* your option) any later version.
|
||||
*
|
||||
* Bisq is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
|
||||
* License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package bisq.desktop.main.overlays.windows;
|
||||
|
||||
import bisq.desktop.Navigation;
|
||||
|
@ -96,8 +113,8 @@ public class ProposalResultsWindow extends TabbedOverlay<ProposalResultsWindow>
|
|||
}
|
||||
|
||||
private void createTabs() {
|
||||
proposalTab = new Tab("PROPOSAL");
|
||||
votesTab = new Tab("VOTES");
|
||||
proposalTab = new Tab(Res.get("shared.proposal").toUpperCase());
|
||||
votesTab = new Tab(Res.get("shared.votes".toUpperCase()));
|
||||
|
||||
tabPane.getTabs().addAll(proposalTab, votesTab);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue