Merge pull request #2692 from krille-chan/krille/support-button-everywhere
chore: Add support button everywhere
This commit is contained in:
commit
e95069478d
27 changed files with 24 additions and 49 deletions
|
|
@ -37,7 +37,8 @@ abstract class AppConfig {
|
|||
static const String supportUrl =
|
||||
'https://github.com/krille-chan/fluffychat/issues';
|
||||
static const String changelogUrl = 'https://fluffy.chat/en/changelog/';
|
||||
static const String donationUrl = 'https://ko-fi.com/krille';
|
||||
static const String donationUrl =
|
||||
'https://fluffychat.im/faq/#how_can_i_support_fluffychat';
|
||||
|
||||
static const Set<String> defaultReactions = {'👍', '❤️', '😂', '😮', '😢'};
|
||||
|
||||
|
|
|
|||
|
|
@ -2992,8 +2992,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Даць грошы",
|
||||
"@donate": {},
|
||||
"startedAPoll": "{username} пачаў апытанне.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2691,7 +2691,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Dona",
|
||||
"startedAPoll": "{username} ha creat una enquesta.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2560,7 +2560,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Přispět",
|
||||
"startedAPoll": "{username} spustil/a hlasování.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2697,7 +2697,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Spenden",
|
||||
"resume": "Fortsetzen",
|
||||
"startedAPoll": "{username} hat eine Umfrage gestartet.",
|
||||
"@startedAPoll": {
|
||||
|
|
@ -2789,4 +2788,4 @@
|
|||
"searchOrEnterHomeserverAddress": "Homeserver-Adresse suchen oder eingeben",
|
||||
"matrixId": "Matrix ID",
|
||||
"reset": "Zurücksetzen"
|
||||
}
|
||||
}
|
||||
|
|
@ -2681,7 +2681,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Donate",
|
||||
"startedAPoll": "{username} started a poll.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
@ -2782,5 +2781,6 @@
|
|||
"description": "This should be a very short string because there is not much space in the button!"
|
||||
},
|
||||
"createNewChat": "Create new chat",
|
||||
"reset": "Reset"
|
||||
"reset": "Reset",
|
||||
"supportFluffyChat": "Support FluffyChat"
|
||||
}
|
||||
|
|
@ -2713,7 +2713,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Donar",
|
||||
"pollQuestion": "Pregunta de encuesta",
|
||||
"answerOption": "Respuesta",
|
||||
"addAnswerOption": "Añadir respuesta",
|
||||
|
|
|
|||
|
|
@ -2690,7 +2690,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Toeta meid rahaliselt",
|
||||
"startedAPoll": "{username} koostas küsitluse.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
@ -2793,4 +2792,4 @@
|
|||
"description": "This should be a very short string because there is not much space in the button!"
|
||||
},
|
||||
"createNewChat": "Loo uus vestlus"
|
||||
}
|
||||
}
|
||||
|
|
@ -2672,7 +2672,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Egin dohaintza",
|
||||
"spaceMemberOf": "{spaces} guneko kidea",
|
||||
"@spaceMemberOf": {
|
||||
"type": "String",
|
||||
|
|
@ -2794,4 +2793,4 @@
|
|||
},
|
||||
"createNewChat": "Sortu txat berria",
|
||||
"reset": "Berrezarri"
|
||||
}
|
||||
}
|
||||
|
|
@ -3003,8 +3003,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Lahjoita",
|
||||
"@donate": {},
|
||||
"startedAPoll": "{username} aloitti kyselyn.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2696,7 +2696,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Tabhair Síntiús",
|
||||
"startedAPoll": "Chuir {username} tús le pobalbhreith.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
@ -2800,4 +2799,4 @@
|
|||
},
|
||||
"createNewChat": "Cruthaigh comhrá nua",
|
||||
"reset": "Athshocraigh"
|
||||
}
|
||||
}
|
||||
|
|
@ -2672,7 +2672,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Doar",
|
||||
"spaceMemberOf": "Participa no espazo {spaces}",
|
||||
"@spaceMemberOf": {
|
||||
"type": "String",
|
||||
|
|
@ -2793,4 +2792,4 @@
|
|||
"description": "This should be a very short string because there is not much space in the button!"
|
||||
},
|
||||
"createNewChat": "Crear nova conversa"
|
||||
}
|
||||
}
|
||||
|
|
@ -2692,7 +2692,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Doniraj",
|
||||
"startedAPoll": "{username} je pokrenuo/la anketu.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2691,7 +2691,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Donasi",
|
||||
"startedAPoll": "{username} memulai polling.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -1392,7 +1392,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Mudd tawsa",
|
||||
"startedAPoll": "{username}yessenker tafrent.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2673,7 +2673,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Ziedot",
|
||||
"startedAPoll": "{username} uzsāka aptauju.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2540,7 +2540,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Doner",
|
||||
"banUserDescription": "Brukeren vil bli utestengt fra chatten og vil ikke kunne delta i chatten igjen før utestengelsen er opphevet.",
|
||||
"unbanUserDescription": "Brukeren vil kunne gå inn i chatten igjen hvis vedkommende prøver.",
|
||||
"kickUserDescription": "Brukeren blir kastet ut av chatten, men ikke utestengt. I offentlige chatter kan brukeren bli med på nytt når som helst.",
|
||||
|
|
@ -2801,4 +2800,4 @@
|
|||
},
|
||||
"createNewChat": "Opprett ny chat",
|
||||
"reset": "Nullstill"
|
||||
}
|
||||
}
|
||||
|
|
@ -2661,7 +2661,6 @@
|
|||
"longPressToRecordVoiceMessage": "Lang drukken om een spraakbericht op te nemen.",
|
||||
"pause": "Pauzeer",
|
||||
"resume": "Hervat",
|
||||
"donate": "Doneer",
|
||||
"removeFromSpaceDescription": "De chat zal worden verwijderd uit de space, maar blijft in je chats.",
|
||||
"countChats": "{chats} chats",
|
||||
"@countChats": {
|
||||
|
|
@ -2793,4 +2792,4 @@
|
|||
},
|
||||
"createNewChat": "Creëer nieuw chat",
|
||||
"reset": "Herstellen"
|
||||
}
|
||||
}
|
||||
|
|
@ -2699,4 +2699,4 @@
|
|||
"moreEvents": "Więcej zdarzeń",
|
||||
"declineInvitation": "Odrzuć zaproszenie",
|
||||
"@declineInvitation": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -2689,7 +2689,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Doar",
|
||||
"startedAPoll": "{username} iniciou uma enquete.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2640,7 +2640,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Пожертвовать",
|
||||
"startedAPoll": "{username} начал опрос.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2606,7 +2606,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Donera",
|
||||
"answerOption": "Svarsalternativ",
|
||||
"addAnswerOption": "Lägg till svarsalternativ",
|
||||
"allowMultipleAnswers": "Tillåt flera svar",
|
||||
|
|
|
|||
|
|
@ -2684,7 +2684,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "நன்கொடை",
|
||||
"startedAPoll": "{username} ஒரு வாக்கெடுப்பைத் தொடங்கினார்.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
@ -2785,4 +2784,4 @@
|
|||
"description": "This should be a very short string because there is not much space in the button!"
|
||||
},
|
||||
"createNewChat": "புதிய அரட்டையை உருவாக்கு"
|
||||
}
|
||||
}
|
||||
|
|
@ -2690,7 +2690,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Задонатити",
|
||||
"startedAPoll": "Нове опитування від {username}.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2598,7 +2598,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "Xayriya qilmoq",
|
||||
"startedAPoll": "{username} so‘rovnoma boshladi.",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -2690,7 +2690,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"donate": "捐赠",
|
||||
"startedAPoll": "{username} 启动了投票。",
|
||||
"@startedAPoll": {
|
||||
"type": "String",
|
||||
|
|
@ -2794,4 +2793,4 @@
|
|||
},
|
||||
"createNewChat": "新建聊天",
|
||||
"reset": "重置"
|
||||
}
|
||||
}
|
||||
|
|
@ -69,17 +69,6 @@ class ClientChooserButton extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
if (Matrix.of(context).backgroundPush?.firebaseEnabled != true)
|
||||
PopupMenuItem(
|
||||
value: SettingsAction.support,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.favorite, color: Colors.red),
|
||||
const SizedBox(width: 18),
|
||||
Text(L10n.of(context).donate),
|
||||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: SettingsAction.settings,
|
||||
child: Row(
|
||||
|
|
@ -90,6 +79,16 @@ class ClientChooserButton extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: SettingsAction.support,
|
||||
child: Row(
|
||||
children: [
|
||||
Icon(Icons.volunteer_activism, color: Colors.red),
|
||||
const SizedBox(width: 18),
|
||||
Text(L10n.of(context).supportFluffyChat),
|
||||
],
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
for (final bundle in bundles) ...[
|
||||
if (matrix.accountBundles[bundle]!.length != 1 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue