Skip to content

Commit

Permalink
fix: change donation to tip (#1291)
Browse files Browse the repository at this point in the history
* fix: change donation to tip

* fix: other languages to get help on

* fix: bn changes

* fix: de

Co-authored-by: Danny <danny@dkamps18.net>

* fix: nl

Co-authored-by: Danny <danny@dkamps18.net>

* fix: ja untranslated

* fix: fmt and ja

* fix: zh

* fix: zh_Hant

---------

Co-authored-by: Danny <danny@dkamps18.net>
  • Loading branch information
SputNikPlop and Dkamps18 authored Jul 25, 2024
1 parent 9d60f8b commit d4675da
Show file tree
Hide file tree
Showing 18 changed files with 59 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class RealtimeCashDonationEventWidget extends StatelessWidget {
children: [
StyledText(
text: model.donor != null && model.donor!.isNotEmpty
? AppLocalizations.of(context)!.realtimeCashDonationWithDonor(
? AppLocalizations.of(context)!.realtimeCashTipWithDonor(
model.donor!, model.value.toString(), model.currency)
: AppLocalizations.of(context)!.realtimeCashDonationAnonymous(
: AppLocalizations.of(context)!.realtimeCashTipAnonymous(
model.value.toString(), model.currency),
tags: {
'b': StyledTextTag(
Expand Down
3 changes: 1 addition & 2 deletions lib/components/chat_history/auxiliary/streamlabs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ class StreamlabsDonationEventWidget extends StatelessWidget {
children: [
StyledText(
text: AppLocalizations.of(context)!
.streamlabsDonationEventMessage(
model.name, model.formattedAmount),
.streamlabsTipEventMessage(model.name, model.formattedAmount),
tags: {
'b': StyledTextTag(
style: Theme.of(context).textTheme.titleSmall),
Expand Down
6 changes: 3 additions & 3 deletions lib/l10n/app_ar.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> اشترك في المستوى {tier}!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> قدم {total} اشتراكات في المستوى {tier}، بإجمالي {cumulativeTotal}!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> اشترك لمدة {cumulativeMonths} أشهر في المستوى {tier}!",
"realtimeCashDonationWithDonor": "<b>{donor}</b> تبرع بمبلغ <b>{value} {currency}</b>.",
"realtimeCashDonationAnonymous": "تبرع مجهول بمبلغ <b>{value} {currency}</b>.",
"realtimeCashTipWithDonor": "<b>{donor}</b> موهوب <b>{value} {currency}</b>.",
"realtimeCashTipAnonymous": "أعطى غير معروف <b>{value} {currency}</b>.",
"streamElementsTipEventMessage": "<b>{name}</b> قدم بقشيش بمبلغ <b>{formattedAmount}</b> على StreamElements.",
"streamlabsDonationEventMessage": "<b>{name}</b> قدم بقشيش بمبلغ <b>{formattedAmount}</b> على Streamlabs.",
"streamlabsTipEventMessage": "<b>{name}</b> قدم بقشيش بمبلغ <b>{formattedAmount}</b> على Streamlabs.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> استرد <b>{rewardName}</b> مقابل <b>{rewardCost}</b> نقاط. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> استرد <b>{rewardName}</b> مقابل <b>{rewardCost}</b> نقاط.",
"cheerEventMessage": "<b>{name}</b> شجع <b>{bits}</b> بت. {cheerMessage}",
Expand Down
8 changes: 4 additions & 4 deletions lib/l10n/app_bn.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> টিয়ার {tier} এ সাবস্ক্রাইব করেছে!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> {total} টি টিয়ার {tier} সাব উপহার দিয়েছে, মোট {cumulativeTotal}!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> টিয়ার {tier} এ {cumulativeMonths} মাসের জন্য সাবস্ক্রাইব করেছে!",
"realtimeCashDonationWithDonor": "<b>{donor}</b> <b>{value} {currency}</b> দান করেছে।",
"realtimeCashDonationAnonymous": "বেনামী <b>{value} {currency}</b> দান করেছে।",
"realtimeCashTipWithDonor": "<b>{donor}</b> টিপ দিয়েছে। <b>{value} {currency}</b>.",
"realtimeCashTipAnonymous": "বেনামী টিপ দিয়েছে। <b>{value} {currency}</b>.",
"streamElementsTipEventMessage": "<b>{name}</b> StreamElements এ <b>{formattedAmount}</b> টিপ দিয়েছে।",
"streamlabsDonationEventMessage": "<b>{name}</b> Streamlabs এ <b>{formattedAmount}</b> টিপ দিয়েছে।",
"streamlabsTipEventMessage": "<b>{name}</b> Streamlabs এ <b>{formattedAmount}</b> টিপ দিয়েছে।",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> <b>{rewardName}</b> <b>{rewardCost}</b> পয়েন্টের জন্য রিডিম করেছে। {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> <b>{rewardName}</b> <b>{rewardCost}</b> পয়েন্টের জন্য রিডিম করেছে।",
"cheerEventMessage": "<b>{name}</b> <b>{bits}</b> বিটস চিয়ার করেছে। {cheerMessage}",
Expand All @@ -157,4 +157,4 @@
"hypeTrainEventProgress": "হাইপ ট্রেন লেভেল <b>{level}</b> চলছে! <b>{progressPercent}%</b> সম্পন্ন হয়েছে!",
"hypeTrainEventEndedSuccessful": "হাইপ ট্রেন লেভেল <b>{level}</b> সফল হয়েছে।",
"hypeTrainEventEndedUnsuccessful": "হাইপ ট্রেন লেভেল <b>{level}</b> ব্যর্থ হয়েছে।"
}
}
6 changes: 3 additions & 3 deletions lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> hat ein Abonnement der Stufe {tier} abgeschlossen!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> hat {total} Abonnements der Stufe {tier} verschenkt, insgesamt {cumulativeTotal}!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> hat seit {cumulativeMonths} Monaten ein Abonnement der Stufe {tier}!",
"realtimeCashDonationWithDonor": "<b>{donor}</b> hat <b>{value} {currency}</b> gespendet.",
"realtimeCashDonationAnonymous": "Anonym hat <b>{value} {currency}</b> gespendet.",
"realtimeCashTipWithDonor": "<b>{donor}</b> hat <b>{value} {currency}</b> getippt.",
"realtimeCashTipAnonymous": "Anonym hat <b>{value} {currency}</b> getippt.",
"streamElementsTipEventMessage": "<b>{name}</b> hat <b>{formattedAmount}</b> auf StreamElements getippt.",
"streamlabsDonationEventMessage": "<b>{name}</b> hat <b>{formattedAmount}</b> auf Streamlabs getippt.",
"streamlabsTipEventMessage": "<b>{name}</b> hat <b>{formattedAmount}</b> auf Streamlabs getippt.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> hat <b>{rewardName}</b> für <b>{rewardCost}</b> Punkte eingelöst. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> hat <b>{rewardName}</b> für <b>{rewardCost}</b> Punkte eingelöst.",
"cheerEventMessage": "<b>{name}</b> hat <b>{bits}</b> Bits gejubelt. {cheerMessage}",
Expand Down
18 changes: 9 additions & 9 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,9 @@
}
}
},
"realtimeCashDonationWithDonor": "<b>{donor}</b> donated <b>{value} {currency}</b>.",
"@realtimeCashDonationWithDonor": {
"description": "Message displayed when a RealtimeCash donation is made with a donor name",
"realtimeCashTipWithDonor": "<b>{donor}</b> tipped <b>{value} {currency}</b>.",
"@realtimeCashTipWithDonor": {
"description": "Message displayed when a RealtimeCash tip is made with a donor name",
"placeholders": {
"donor": {
"type": "String",
Expand All @@ -793,9 +793,9 @@
}
}
},
"realtimeCashDonationAnonymous": "Anonymous donated <b>{value} {currency}</b>.",
"@realtimeCashDonationAnonymous": {
"description": "Message displayed when a RealtimeCash donation is made anonymously",
"realtimeCashTipAnonymous": "Anonymous tipped <b>{value} {currency}</b>.",
"@realtimeCashTipAnonymous": {
"description": "Message displayed when a RealtimeCash tip is made anonymously",
"placeholders": {
"value": {
"type": "String",
Expand All @@ -821,9 +821,9 @@
}
}
},
"streamlabsDonationEventMessage": "<b>{name}</b> tipped <b>{formattedAmount}</b> on Streamlabs.",
"@streamlabsDonationEventMessage": {
"description": "Message displayed when a Streamlabs donation event occurs",
"streamlabsTipEventMessage": "<b>{name}</b> tipped <b>{formattedAmount}</b> on Streamlabs.",
"@streamlabsTipEventMessage": {
"description": "Message displayed when a Streamlabs tip event occurs",
"placeholders": {
"name": {
"type": "String",
Expand Down
8 changes: 4 additions & 4 deletions lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> se ha suscrito en el nivel {tier}!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> ha regalado {total} suscripciones de nivel {tier}, sumando un total de {cumulativeTotal}!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> se ha suscrito por {cumulativeMonths} meses en el nivel {tier}!",
"realtimeCashDonationWithDonor": "<b>{donor}</b> ha donado <b>{value} {currency}</b>.",
"realtimeCashDonationAnonymous": "Anónimo ha donado <b>{value} {currency}</b>.",
"realtimeCashTipWithDonor": "<b>{donor}</b> ha dado una propina de <b>{value} {currency}</b>.",
"realtimeCashTipAnonymous": "Anónimo ha dado una propina de <b>{value} {currency}</b>.",
"streamElementsTipEventMessage": "<b>{name}</b> ha dado una propina de <b>{formattedAmount}</b> en StreamElements.",
"streamlabsDonationEventMessage": "<b>{name}</b> ha dado una propina de <b>{formattedAmount}</b> en Streamlabs.",
"streamlabsTipEventMessage": "<b>{name}</b> ha dado una propina de <b>{formattedAmount}</b> en Streamlabs.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> canjeó <b>{rewardName}</b> por <b>{rewardCost}</b> puntos. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> canjeó <b>{rewardName}</b> por <b>{rewardCost}</b> puntos.",
"cheerEventMessage": "<b>{name}</b> animó con <b>{bits}</b> bits. {cheerMessage}",
Expand All @@ -157,4 +157,4 @@
"hypeTrainEventProgress": "¡El tren del hype nivel <b>{level}</b> está en progreso! ¡<b>{progressPercent}%</b> completado!",
"hypeTrainEventEndedSuccessful": "El tren del hype nivel <b>{level}</b> ha tenido éxito.",
"hypeTrainEventEndedUnsuccessful": "El tren del hype nivel <b>{level}</b> ha fallado."
}
}
6 changes: 3 additions & 3 deletions lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> s'est abonné au niveau {tier} !",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> a offert {total} abonnements de niveau {tier}, totalisant {cumulativeTotal} !",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> est abonné depuis {cumulativeMonths} mois au niveau {tier} !",
"realtimeCashDonationWithDonor": "<b>{donor}</b> a fait un don de <b>{value} {currency}</b>.",
"realtimeCashDonationAnonymous": "Anonyme a fait un don de <b>{value} {currency}</b>.",
"realtimeCashTipWithDonor": "<b>{donor}</b> a donné un pourboire de <b>{value} {currency}</b>.",
"realtimeCashTipAnonymous": "Anonyme a donné un pourboire de <b>{value} {currency}</b>.",
"streamElementsTipEventMessage": "<b>{name}</b> a donné un pourboire de <b>{formattedAmount}</b> sur StreamElements.",
"streamlabsDonationEventMessage": "<b>{name}</b> a donné un pourboire de <b>{formattedAmount}</b> sur Streamlabs.",
"streamlabsTipEventMessage": "<b>{name}</b> a donné un pourboire de <b>{formattedAmount}</b> sur Streamlabs.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> a échangé <b>{rewardName}</b> contre <b>{rewardCost}</b> points. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> a échangé <b>{rewardName}</b> contre <b>{rewardCost}</b> points.",
"cheerEventMessage": "<b>{name}</b> a acclamé <b>{bits}</b> bits. {cheerMessage}",
Expand Down
6 changes: 3 additions & 3 deletions lib/l10n/app_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> si è abbonato al livello {tier}!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> ha regalato {total} abbonamenti di livello {tier}, per un totale di {cumulativeTotal}!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> si è abbonato per {cumulativeMonths} mesi al livello {tier}!",
"realtimeCashDonationWithDonor": "<b>{donor}</b> ha donato <b>{value} {currency}</b>.",
"realtimeCashDonationAnonymous": "Anonimo ha donato <b>{value} {currency}</b>.",
"realtimeCashTipWithDonor": "<b>{donor}</b> ha dato una mancia di <b>{value} {currency}</b>.",
"realtimeCashTipAnonymous": "Anonimo ha dato una mancia di <b>{value} {currency}</b>.",
"streamElementsTipEventMessage": "<b>{name}</b> ha dato una mancia di <b>{formattedAmount}</b> su StreamElements.",
"streamlabsDonationEventMessage": "<b>{name}</b> ha dato una mancia di <b>{formattedAmount}</b> su Streamlabs.",
"streamlabsTipEventMessage": "<b>{name}</b> ha dato una mancia di <b>{formattedAmount}</b> su Streamlabs.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> ha riscattato <b>{rewardName}</b> per <b>{rewardCost}</b> punti. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> ha riscattato <b>{rewardName}</b> per <b>{rewardCost}</b> punti.",
"cheerEventMessage": "<b>{name}</b> ha fatto il tifo con <b>{bits}</b> bit. {cheerMessage}",
Expand Down
6 changes: 3 additions & 3 deletions lib/l10n/app_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b>がティア{tier}にサブスクライブしました!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b>がティア{tier}のサブスクリプションを{total}個ギフトし、合計{cumulativeTotal}個になりました!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b>がティア{tier}に{cumulativeMonths}ヶ月間サブスクライブしました!",
"realtimeCashDonationWithDonor": "<b>{donor}</b><b>{value}{currency}</b>を寄付しました。",
"realtimeCashDonationAnonymous": "匿名が<b>{value}{currency}</b>を寄付しました。",
"realtimeCashTipWithDonor": "<b>{donor}</b> さんが <b>{value} {currency}</b> のチップを送りました。",
"realtimeCashTipAnonymous": "匿名のユーザーが <b>{value} {currency}</b> にチップを送りました。",
"streamElementsTipEventMessage": "<b>{name}</b>がStreamElementsで<b>{formattedAmount}</b>をチップしました。",
"streamlabsDonationEventMessage": "<b>{name}</b>がStreamlabsで<b>{formattedAmount}</b>をチップしました。",
"streamlabsTipEventMessage": "<b>{name}</b>がStreamlabsで<b>{formattedAmount}</b>をチップしました。",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> が <b>{rewardName}</b> を <b>{rewardCost}</b> ポイントで交換しました。 {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> が <b>{rewardName}</b> を <b>{rewardCost}</b> ポイントで交換しました。",
"cheerEventMessage": "<b>{name}</b> が <b>{bits}</b> ビッツをチアーしました。 {cheerMessage}",
Expand Down
6 changes: 3 additions & 3 deletions lib/l10n/app_ko.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b>님이 티어 {tier}에 구독했습니다!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b>님이 티어 {tier} 구독 {total}개를 선물하여 총 {cumulativeTotal}개가 되었습니다!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b>님이 티어 {tier}에 {cumulativeMonths}개월 동안 구독했습니다!",
"realtimeCashDonationWithDonor": "<b>{donor}</b>님이 <b>{value} {currency}</b>를 기부했습니다.",
"realtimeCashDonationAnonymous": "익명이 <b>{value} {currency}</b>를 기부했습니다.",
"realtimeCashTipWithDonor": "<b>{donor}</b> 팁을 주었다 <b>{value} {currency}</b>.",
"realtimeCashTipAnonymous": "익명 팁을 했습니다 <b>{value} {currency}</b>.",
"streamElementsTipEventMessage": "<b>{name}</b>님이 StreamElements에서 <b>{formattedAmount}</b>를 팁으로 주었습니다.",
"streamlabsDonationEventMessage": "<b>{name}</b>님이 Streamlabs에서 <b>{formattedAmount}</b>를 팁으로 주었습니다.",
"streamlabsTipEventMessage": "<b>{name}</b>님이 Streamlabs에서 <b>{formattedAmount}</b>를 팁으로 주었습니다.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b>님이 <b>{rewardName}</b>을(를) <b>{rewardCost}</b> 포인트로 교환했습니다. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b>님이 <b>{rewardName}</b>을(를) <b>{rewardCost}</b> 포인트로 교환했습니다.",
"cheerEventMessage": "<b>{name}</b>님이 <b>{bits}</b> 비트를 응원했습니다. {cheerMessage}",
Expand Down
6 changes: 3 additions & 3 deletions lib/l10n/app_nl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> heeft zich geabonneerd op Tier {tier}!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> heeft {total} Tier {tier} abonnementen cadeau gedaan, in totaal {cumulativeTotal}!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> is {cumulativeMonths} maanden geabonneerd op Tier {tier}!",
"realtimeCashDonationWithDonor": "<b>{donor}</b> heeft <b>{value} {currency}</b> gedoneerd.",
"realtimeCashDonationAnonymous": "Anoniem heeft <b>{value} {currency}</b> gedoneerd.",
"realtimeCashTipWithDonor": "<b>{donor}</b> heeft <b>{value} {currency}</b> getipt.",
"realtimeCashTipAnonymous": "Anoniem heeft <b>{value} {currency}</b> getipt.",
"streamElementsTipEventMessage": "<b>{name}</b> heeft <b>{formattedAmount}</b> getipt op StreamElements.",
"streamlabsDonationEventMessage": "<b>{name}</b> heeft <b>{formattedAmount}</b> getipt op Streamlabs.",
"streamlabsTipEventMessage": "<b>{name}</b> heeft <b>{formattedAmount}</b> getipt op Streamlabs.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> heeft <b>{rewardName}</b> ingewisseld voor <b>{rewardCost}</b> punten. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> heeft <b>{rewardName}</b> ingewisseld voor <b>{rewardCost}</b> punten.",
"cheerEventMessage": "<b>{name}</b> heeft <b>{bits}</b> bits gejuicht. {cheerMessage}",
Expand Down
6 changes: 3 additions & 3 deletions lib/l10n/app_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"subscriptionEvent": "<b>{subscriberUserName}</b> zasubskrybował na poziomie {tier}!",
"subscriptionGiftEvent": "<b>{gifterUserName}</b> podarował {total} subskrypcji na poziomie {tier}, łącznie {cumulativeTotal}!",
"subscriptionMessageEvent": "<b>{subscriberUserName}</b> zasubskrybował na poziomie {tier} przez {cumulativeMonths} miesięcy!",
"realtimeCashDonationWithDonor": "<b>{donor}</b> przekazał darowiznę w wysokości <b>{value} {currency}</b>.",
"realtimeCashDonationAnonymous": "Anonimowy przekazał darowiznę w wysokości <b>{value} {currency}</b>.",
"realtimeCashTipWithDonor": "<b>{donor}</b> dał napiwek w wysokości <b>{value} {currency}</b>.",
"realtimeCashTipAnonymous": "Anonimowy dał napiwek w wysokości <b>{value} {currency}</b>.",
"streamElementsTipEventMessage": "<b>{name}</b> dał napiwek w wysokości <b>{formattedAmount}</b> na StreamElements.",
"streamlabsDonationEventMessage": "<b>{name}</b> dał napiwek w wysokości <b>{formattedAmount}</b> na Streamlabs.",
"streamlabsTipEventMessage": "<b>{name}</b> dał napiwek w wysokości <b>{formattedAmount}</b> na Streamlabs.",
"channelPointRedemptionWithUserInput": "<b>{redeemerUsername}</b> wymienił <b>{rewardName}</b> za <b>{rewardCost}</b> punktów. {userInput}",
"channelPointRedemptionWithoutUserInput": "<b>{redeemerUsername}</b> wymienił <b>{rewardName}</b> za <b>{rewardCost}</b> punktów.",
"cheerEventMessage": "<b>{name}</b> cheerował <b>{bits}</b> bitów. {cheerMessage}",
Expand Down
Loading

0 comments on commit d4675da

Please sign in to comment.