ensure GitHub name is used correctly across the project (#4187)

It follows the official trademark style[1].

[1] https://docs.github.com/en/site-policy/content-removal-policies/github-trademark-policy
This commit is contained in:
Thiago Rodrigues (xthiago)
2025-01-18 16:54:05 -03:00
committed by GitHub
parent 278e4ad74f
commit 5e8a24f283
11 changed files with 18 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ body:
id: intro-md id: intro-md
attributes: attributes:
value: | value: |
**IMPORTANT:** we use Github Issues only for BUG REPORTS and FEATURE REQUESTS. If you are looking for help/support - please reach out to the [community on Discord](https://discord.gg/pRYNYr4W5A). All non-bug and non-feature-request issues will be closed. **IMPORTANT:** we use GitHub Issues only for BUG REPORTS and FEATURE REQUESTS. If you are looking for help/support - please reach out to the [community on Discord](https://discord.gg/pRYNYr4W5A). All non-bug and non-feature-request issues will be closed.
**Bank-sync problems (SimpleFin / GoCardless)?** Reach out via the [community Discord](https://discord.gg/pRYNYr4W5A) first and open an issue only if the community deems the issue to be a legitimate bug in Actual. **Bank-sync problems (SimpleFin / GoCardless)?** Reach out via the [community Discord](https://discord.gg/pRYNYr4W5A) first and open an issue only if the community deems the issue to be a legitimate bug in Actual.
- type: checkboxes - type: checkboxes

View File

@@ -337,7 +337,7 @@ const openIdProviders: (OpenIdProviderOption | typeof Menu.line)[] = [
), ),
}, },
{ {
label: 'Github', label: 'GitHub',
value: 'github', value: 'github',
clientIdRequired: true, clientIdRequired: true,
clientSecretRequired: true, clientSecretRequired: true,
@@ -348,7 +348,7 @@ const openIdProviders: (OpenIdProviderOption | typeof Menu.line)[] = [
<> <>
<Text style={{ color: theme.errorText }}> <Text style={{ color: theme.errorText }}>
<Trans> <Trans>
Github does not support discovery. You need to configure it in the GitHub does not support discovery. You need to configure it in the
server. server.
</Trans> </Trans>
</Text>{' '} </Text>{' '}

View File

@@ -26,7 +26,7 @@ function getErrorMessage(error: string): string {
case 'invalid-metadata-file': case 'invalid-metadata-file':
return 'The metadata file in the given archive is corrupted.'; return 'The metadata file in the given archive is corrupted.';
default: default:
return 'An unknown error occurred while importing. Please report this as a new issue on Github.'; return 'An unknown error occurred while importing. Please report this as a new issue on GitHub.';
} }
} }

View File

@@ -16,7 +16,7 @@ function getErrorMessage(error: 'not-ynab4' | boolean) {
case 'not-ynab4': case 'not-ynab4':
return 'This file is not valid. Please select a .ynab4 file'; return 'This file is not valid. Please select a .ynab4 file';
default: default:
return 'An unknown error occurred while importing. Please report this as a new issue on Github.'; return 'An unknown error occurred while importing. Please report this as a new issue on GitHub.';
} }
} }

View File

@@ -18,7 +18,7 @@ function getErrorMessage(error: string): string {
case 'not-ynab4': case 'not-ynab4':
return 'This file is not valid. Please select a compressed ynab4 zip file.'; return 'This file is not valid. Please select a compressed ynab4 zip file.';
default: default:
return 'An unknown error occurred while importing. Please report this as a new issue on Github.'; return 'An unknown error occurred while importing. Please report this as a new issue on GitHub.';
} }
} }

View File

@@ -21,7 +21,7 @@ function getErrorMessage(error: string): string {
case 'not-ynab5': case 'not-ynab5':
return 'This file is not valid. Please select a JSON file exported from nYNAB.'; return 'This file is not valid. Please select a JSON file exported from nYNAB.';
default: default:
return 'An unknown error occurred while importing. Please report this as a new issue on Github.'; return 'An unknown error occurred while importing. Please report this as a new issue on GitHub.';
} }
} }

View File

@@ -51,7 +51,7 @@ export function ExportBudget() {
{error && ( {error && (
<Block style={{ color: theme.errorText, marginTop: 15 }}> <Block style={{ color: theme.errorText, marginTop: 15 }}>
{t( {t(
'An unknown error occurred while exporting. Please report this as a new issue on Github.', 'An unknown error occurred while exporting. Please report this as a new issue on GitHub.',
)} )}
</Block> </Block>
)} )}

View File

@@ -35,7 +35,7 @@ export async function getLatestVersion(): Promise<string | 'unknown'> {
return tags[tags.length - 1]; return tags[tags.length - 1];
} catch { } catch {
// Rate limit exceeded? Or perhaps Github is down? // Rate limit exceeded? Or perhaps GitHub is down?
return 'unknown'; return 'unknown';
} }
} }

View File

@@ -26,7 +26,7 @@ export function addGenericErrorNotification() {
type: 'error', type: 'error',
message: t( message: t(
'Something internally went wrong. You may want to restart the app if anything looks wrong. ' + 'Something internally went wrong. You may want to restart the app if anything looks wrong. ' +
'Please report this as a new issue on Github.', 'Please report this as a new issue on GitHub.',
), ),
}); });
} }

View File

@@ -284,7 +284,7 @@ export function listenForSyncEvent(store: AppStore) {
console.trace('apply-failure', event.meta); console.trace('apply-failure', event.meta);
notif = { notif = {
message: t( message: t(
'We couldnt apply that change to the database. Please report this as a bug by [opening a Github issue]({{githubIssueLink}}).', 'We couldnt apply that change to the database. Please report this as a bug by [opening a GitHub issue]({{githubIssueLink}}).',
{ githubIssueLink }, { githubIssueLink },
), ),
}; };
@@ -308,7 +308,7 @@ export function listenForSyncEvent(store: AppStore) {
console.trace('unknown error', event); console.trace('unknown error', event);
notif = { notif = {
message: t( message: t(
'We had problems syncing your changes. Please report this as a bug by [opening a Github issue]({{githubIssueLink}}).', 'We had problems syncing your changes. Please report this as a bug by [opening a GitHub issue]({{githubIssueLink}}).',
{ githubIssueLink }, { githubIssueLink },
), ),
}; };

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [xthiago]
---
Ensure 'GitHub' name is used correctly across the project, following the official style.