Skip to content

Commit

Permalink
Merge pull request bisq-network#2750 from HenrikJannsen/fix-translati…
Browse files Browse the repository at this point in the history
…on-strings

Fix missing translation string, move strings and remove unused
  • Loading branch information
HenrikJannsen authored Sep 3, 2024
2 parents d70d753 + f8a8f7a commit 87e4279
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 18 deletions.
1 change: 1 addition & 0 deletions i18n/src/main/resources/reputation.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ reputation.score=Score
reputation.totalScore=Total score
reputation.ranking=Ranking
reputation.score.formulaHeadline=The reputation score is calculated as follows:
reputation.score.tooltip=Score: {0}\nRanking: {1}

reputation.burnBsq=Burning BSQ
reputation.burnedBsq.tab1=Why
Expand Down
1 change: 1 addition & 0 deletions i18n/src/main/resources/reputation_cs.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ reputation.score=Skóre
reputation.totalScore=Celkové skóre
reputation.ranking=Žebříček
reputation.score.formulaHeadline=Skóre reputace se vypočítá následovně:
reputation.score.tooltip=Hodnocení: {0}\nHodnocení: {1}

reputation.burnBsq=Spálení BSQ
reputation.burnedBsq.tab1=Proč
Expand Down
1 change: 1 addition & 0 deletions i18n/src/main/resources/reputation_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ reputation.score=Punktzahl
reputation.totalScore=Gesamtpunktzahl
reputation.ranking=Rangfolge
reputation.score.formulaHeadline=Die Reputation wird wie folgt berechnet:
reputation.score.tooltip=Punktzahl: {0}\nRang: {1}

reputation.burnBsq=BSQ entwerten
reputation.burnedBsq.tab1=Warum
Expand Down
1 change: 1 addition & 0 deletions i18n/src/main/resources/reputation_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ reputation.score=Puntuación
reputation.totalScore=Puntuación total
reputation.ranking=Clasificación
reputation.score.formulaHeadline=La puntuación de reputación se calcula de la siguiente manera:
reputation.score.tooltip=Puntuación: {0}\nClasificación: {1}

reputation.burnBsq=Quemar BSQ
reputation.burnedBsq.tab1=Por qué
Expand Down
1 change: 1 addition & 0 deletions i18n/src/main/resources/reputation_it.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ reputation.score=Punteggio
reputation.totalScore=Punteggio totale
reputation.ranking=Classifica
reputation.score.formulaHeadline=Il punteggio di reputazione è calcolato come segue:
reputation.score.tooltip=Punteggio: {0}\nClassifica: {1}

reputation.burnBsq=Bruciare BSQ
reputation.burnedBsq.tab1=Perché
Expand Down
1 change: 1 addition & 0 deletions i18n/src/main/resources/reputation_pcm.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ reputation.score=Score
reputation.totalScore=Total score
reputation.ranking=Ranking
reputation.score.formulaHeadline=Reputation score dey calculate like this:
reputation.score.tooltip=Score: {0}\nRanking: {1}

reputation.burnBsq=Burning BSQ
reputation.burnedBsq.tab1=Why
Expand Down
1 change: 1 addition & 0 deletions i18n/src/main/resources/reputation_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ reputation.score=Pontuação
reputation.totalScore=Pontuação total
reputation.ranking=Classificação
reputation.score.formulaHeadline=A pontuação de reputação é calculada da seguinte forma:
reputation.score.tooltip=Puntuación: {0}\nRanking: {1}

reputation.burnBsq=Queimar BSQ
reputation.burnedBsq.tab1=Por quê
Expand Down
4 changes: 1 addition & 3 deletions i18n/src/main/resources/user.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# User module
#
################################################################################
user.reputation.score.tooltip=Score: {0}\nRanking: {1}

user.userProfile.tooltip=Nickname: {0}\nBot ID: {1}\nProfile ID: {2}\n{3}
user.userProfile.tooltip.banned=This profile is banned!
user.userProfile.userName.banned=[Banned] {0}
Expand All @@ -28,8 +28,6 @@ user.userProfile.addressByTransport.I2P=I2P address: {0}
user.userProfile=User profile
user.password=Password
user.paymentAccounts=Payment accounts
user.reputation=Reputation



################################################################################
Expand Down
3 changes: 1 addition & 2 deletions i18n/src/main/resources/user_cs.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# User module
#
################################################################################
user.reputation.score.tooltip=Hodnocení: {0}\nHodnocení: {1}

user.userProfile.tooltip=Přezdívka: {0}\nBot ID: {1}\nProfilové ID: {2}\n{3}
user.userProfile.tooltip.banned=Tento profil je zakázán!
user.userProfile.userName.banned=[Zakázáno] {0}
Expand All @@ -27,7 +27,6 @@ user.userProfile.addressByTransport.I2P=I2P adresa: {0}
user.userProfile=Uživatelský profil
user.password=Heslo
user.paymentAccounts=Platební účty
user.reputation=Reputace



Expand Down
4 changes: 1 addition & 3 deletions i18n/src/main/resources/user_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# User module
#
################################################################################
user.reputation.score.tooltip=Punktzahl: {0}\nRang: {1}

user.userProfile.tooltip=Spitzname: {0}\nBot-ID: {1}\nProfil-ID: {2}
user.userProfile.tooltip.banned=Dieses Profil ist gesperrt!
user.userProfile.userName.banned=[Gesperrt] {0}
Expand All @@ -27,8 +27,6 @@ user.userProfile.addressByTransport.I2P=I2P-Adresse: {0}
user.userProfile=Benutzerprofil
user.password=Passwort
user.paymentAccounts=Zahlungskonten
user.reputation=Reputation



################################################################################
Expand Down
3 changes: 1 addition & 2 deletions i18n/src/main/resources/user_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# User module
#
################################################################################
user.reputation.score.tooltip=Puntuación: {0}\nClasificación: {1}

user.userProfile.tooltip=Apodo: {0}\nID de Bot: {1}\nID de Perfil: {2}
user.userProfile.tooltip.banned=¡Este perfil está baneado!
user.userProfile.userName.banned=[Baneado] {0}
Expand All @@ -27,7 +27,6 @@ user.userProfile.addressByTransport.I2P=I2P address: {0}
user.userProfile=Perfil de usuario
user.password=Contraseña
user.paymentAccounts=Cuentas de pago
user.reputation=Reputación



Expand Down
3 changes: 1 addition & 2 deletions i18n/src/main/resources/user_it.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# User module
#
################################################################################
user.reputation.score.tooltip=Punteggio: {0}\nClassifica: {1}

user.userProfile.tooltip=Nickname: {0}\nID Bot: {1}\nID Profilo: {2}
user.userProfile.tooltip.banned=Questo profilo è stato bannato!
user.userProfile.userName.banned=[Bannato] {0}
Expand All @@ -27,7 +27,6 @@ user.userProfile.addressByTransport.I2P=I2P address: {0}
user.userProfile=Profilo utente
user.password=Password
user.paymentAccounts=Account di pagamento
user.reputation=Reputazione



Expand Down
3 changes: 1 addition & 2 deletions i18n/src/main/resources/user_pcm.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# User module
#
################################################################################
user.reputation.score.tooltip=Score: {0}\nRanking: {1}

user.userProfile.tooltip=Nickname: {0}\nBot ID: {1}\nProfile ID: {2}\n{3}
user.userProfile.tooltip.banned=Dis profile dey banned!
user.userProfile.userName.banned=[Banned] {0}
Expand All @@ -27,7 +27,6 @@ user.userProfile.addressByTransport.I2P=I2P address: {0}
user.userProfile=User profile
user.password=Password
user.paymentAccounts=Payment accounts
user.reputation=Reputation



Expand Down
3 changes: 1 addition & 2 deletions i18n/src/main/resources/user_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# User module
#
################################################################################
user.reputation.score.tooltip=Puntuación: {0}\nRanking: {1}

user.userProfile.tooltip=Apelido: {0}\nID do Bot: {1}\nID do Perfil: {2}\n{3}
user.userProfile.tooltip.banned=Este perfil está banido!
user.userProfile.userName.banned=[Banido] {0}
Expand All @@ -27,7 +27,6 @@ user.userProfile.addressByTransport.I2P=I2P address: {0}
user.userProfile=Perfil do usuário
user.password=Senha
user.paymentAccounts=Contas de pagamento
user.reputation=Reputação



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ReputationScore(long totalScore, double fiveSystemScore, int ranking) {
}

public String getTooltipString() {
return Res.get("user.reputation.score.tooltip", totalScore, getRankingAsString());
return Res.get("reputation.score.tooltip", totalScore, getRankingAsString());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public enum ReputationSource {
BISQ1_SIGNED_ACCOUNT_AGE_WITNESS;

public String getDisplayString() {
return Res.get("user.reputation.source." + name());
return Res.get("reputation.source." + name());
}
}

0 comments on commit 87e4279

Please sign in to comment.