Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add locales support #37

Merged
merged 17 commits into from
Dec 31, 2021
Merged

feat: add locales support #37

merged 17 commits into from
Dec 31, 2021

Conversation

DTrombett
Copy link
Owner

@DTrombett DTrombett commented Dec 22, 2021

Changes this PR makes:

Add support for translations.
See #36
Note: This PR doesn't include any translation, it just adds the support for it.

@DTrombett DTrombett changed the base branch from feat/clanmembers to main December 22, 2021 19:07
@DTrombett DTrombett self-assigned this Dec 22, 2021
@DTrombett DTrombett added the enhancement New feature or request label Dec 22, 2021
@DTrombett DTrombett changed the base branch from main to feat/clanmembers December 23, 2021 14:54
DTrombett and others added 14 commits December 23, 2021 16:01
Bumps [@discordjs/collection](https://github.com/discordjs/collection) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/discordjs/collection/releases)
- [Changelog](https://github.com/discordjs/collection/blob/main/CHANGELOG.md)
- [Commits](discordjs/collection@v0.3.2...v0.4.0)

---
updated-dependencies:
- dependency-name: "@discordjs/collection"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/discordjs/builders/releases)
- [Changelog](https://github.com/discordjs/builders/blob/main/CHANGELOG.md)
- [Commits](discordjs/builders@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: "@discordjs/builders"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.3.1 to 13.4.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/main/CHANGELOG.md)
- [Commits](discordjs/discord.js@13.3.1...13.4.0)

---
updated-dependencies:
- dependency-name: discord.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/discordjs/builders/releases)
- [Changelog](https://github.com/discordjs/builders/blob/main/CHANGELOG.md)
- [Commits](discordjs/builders@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: "@discordjs/builders"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.4.0 to 13.5.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/main/CHANGELOG.md)
- [Commits](discordjs/discord.js@13.4.0...13.5.0)

---
updated-dependencies:
- dependency-name: discord.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@DTrombett DTrombett marked this pull request as ready for review December 31, 2021 12:53
@DTrombett DTrombett changed the title feat: start adding locales feat: add locales support Dec 31, 2021
@DTrombett DTrombett merged commit a5ad182 into feat/clanmembers Dec 31, 2021
@DTrombett DTrombett deleted the feat/locales branch December 31, 2021 12:55
DTrombett added a commit that referenced this pull request Jan 8, 2022
* feat: add support for clan members in clan embed

* chore: move to the feat/clans branch

* feat: implement clan search

* feat: implement buttons

* feat: implement ephemeral response

* feat: rename some constants

* feat: change repo name

* feat: update apiroyale

* feat: add player command

* fix: bump apiroyale version

* feat: start work for riverRaceLog

* feat: finish riverracelog command

* feat: add autocomplete

* feat: improve autocomplete

* fix: consistency
TODO: playerInfo.ts, riverRaceLog.ts

* fix: consistency

* fix: load only private commands

* feat: migrate to esm

* fix: remove resolveJsonModules flag

* feat: don't build on commands

* feat: improve registerCommands

* feat: add invite command

* feat: add prefer-object-has-own eslint rule

* feat: add locales support (#37)

* feat: start adding locales

* refactor: move river race log to end

* feat: implement LocaleConstants

* deps(deps): bump @discordjs/collection from 0.3.2 to 0.4.0

Bumps [@discordjs/collection](https://github.com/discordjs/collection) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/discordjs/collection/releases)
- [Changelog](https://github.com/discordjs/collection/blob/main/CHANGELOG.md)
- [Commits](discordjs/collection@v0.3.2...v0.4.0)

---
updated-dependencies:
- dependency-name: "@discordjs/collection"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* deps(deps): bump @discordjs/builders from 0.9.0 to 0.10.0

Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/discordjs/builders/releases)
- [Changelog](https://github.com/discordjs/builders/blob/main/CHANGELOG.md)
- [Commits](discordjs/builders@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: "@discordjs/builders"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* deps(deps): bump discord.js from 13.3.1 to 13.4.0

Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.3.1 to 13.4.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/main/CHANGELOG.md)
- [Commits](discordjs/discord.js@13.3.1...13.4.0)

---
updated-dependencies:
- dependency-name: discord.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* devDeps(deps-dev): bump @typescript-eslint/parser from 5.8.0 to 5.8.1

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* devDeps(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* deps(deps): bump @discordjs/builders from 0.10.0 to 0.11.0

Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/discordjs/builders/releases)
- [Changelog](https://github.com/discordjs/builders/blob/main/CHANGELOG.md)
- [Commits](discordjs/builders@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: "@discordjs/builders"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* deps(deps): bump discord.js from 13.4.0 to 13.5.0

Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.4.0 to 13.5.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/main/CHANGELOG.md)
- [Commits](discordjs/discord.js@13.4.0...13.5.0)

---
updated-dependencies:
- dependency-name: discord.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: start migrating to i18next

* chore: general cleanup

* fix: fix problems with i18next

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: readd engines

* chore: update apiroyale

* feat: add currentRiverRace

* fix: duplicated key

* feat: add many things

* chore: remove prettier check

* chore: add more package fields

* fix: deps and improve ping command

* chore: add start:no-build script

* feat: add translation typings

* feat: conclude currentRiverRace

* feat: add lastSeen

* chore: update apiroyale

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locales 🇬🇧
1 participant