Skip to content

Commit

Permalink
Added donate page to help menu and to language files
Browse files Browse the repository at this point in the history
  • Loading branch information
duckduckgrayduck committed Jul 11, 2024
1 parent f200073 commit cb81f66
Show file tree
Hide file tree
Showing 8 changed files with 110 additions and 5 deletions.
92 changes: 92 additions & 0 deletions result.txt

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/langs/json/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@
"changeOrg": "Organisation ändern",
"personalAcct": "Persönliches Konto",
"signIn": "Anmelden",
"uploadEmail": "Hochladen per E-Mail"
"uploadEmail": "Hochladen per E-Mail",
"donate": "Spenden",
},
"documents": {
"yourDocuments": "Ihre Dokumente",
Expand Down
1 change: 1 addition & 0 deletions src/langs/json/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@
"apiDocs": "API Documentation",
"addOns": "Add-Ons",
"premium": "DocumentCloud Premium",
"donate": "Donate to support DocumentCloud",
"emailUs": "Email Us"
},
"language": {
Expand Down
3 changes: 2 additions & 1 deletion src/langs/json/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@
"signOut": "Cerrar sesión",
"changeOrg": "Cambiar la organización",
"personalAcct": "Cuenta personal",
"signIn": "Iniciar sesión"
"signIn": "Iniciar sesión",
"donate": "Hacer una donación"
},
"documents": {
"yourDocuments": "Sus documentos",
Expand Down
3 changes: 2 additions & 1 deletion src/langs/json/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@
"signOut": "Se déconnecter",
"changeOrg": "Changer l'organisation",
"personalAcct": "Compte personnel",
"signIn": "Se connecter"
"signIn": "Se connecter",
"donate": "Faire un don",
},
"documents": {
"yourDocuments": "Vos Documents",
Expand Down
3 changes: 2 additions & 1 deletion src/langs/json/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@
"changeOrg": "Изменить организацию",
"personalAcct": "Личный аккаунт",
"signIn": "Войти",
"uploadEmail": "Загрузить через e-mail"
"uploadEmail": "Загрузить через e-mail",
"donate": "Поддержите нас",
},
"documents": {
"yourDocuments": "Ваши документы",
Expand Down
3 changes: 2 additions & 1 deletion src/langs/json/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@
"changeOrg": "Змінити організацію",
"personalAcct": "Особистий акаунт",
"signIn": "Увійти",
"uploadEmail": "Вивантажити через email"
"uploadEmail": "Вивантажити через email",
"donate": "Пiдтримати"
},
"documents": {
"yourDocuments": "Ваші документи",
Expand Down
7 changes: 7 additions & 0 deletions src/pages/app/accounts/HelpMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
Zap16,
Mail16,
Question16,
Gift16,
} from "svelte-octicons";
</script>

Expand Down Expand Up @@ -54,6 +55,12 @@
{$_("authSection.help.premium")}
</MenuItem>
</Link>
<Link toUrl="https://www.muckrock.com/donate/" color={true}>
<MenuItem>
<Gift16 slot="icon" />
{$_("authSection.help.donate")}
</MenuItem>
</Link>
<a href="mailto:[email protected]" class="color" target="_blank">
<MenuItem>
<Mail16 slot="icon" />
Expand Down

0 comments on commit cb81f66

Please sign in to comment.