This pull request adds internationalization support for the LIKE_REASONS and DISLIKE_REASONS arrays using the svelte-i18n library. It aims to enhance the accessibility of the application by providing multi-language support, ensuring that the feedback options are understandable in various languages.
Changelog Entry
Added
Internationalization support for feedback reasons using i18n.
Vietnamese translations for LIKE_REASONS and DISLIKE_REASONS.
Fixed
None
Changed
Updated LIKE_REASONS and DISLIKE_REASONS arrays to utilize i18n keys instead of static strings.
Removed
Removed hardcoded strings from feedback options, replaced with i18n keys.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1624
**Author:** [@que-nguyen](https://github.com/que-nguyen)
**Created:** 4/20/2024
**Status:** ✅ Merged
**Merged:** 4/20/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `dev`
---
### 📝 Commits (3)
- [`3df03fa`](https://github.com/open-webui/open-webui/commit/3df03fa3fe15d0fc824887f4499db40add56c2f8) Add i18n translation for feedback reasons
- [`7a5a3c4`](https://github.com/open-webui/open-webui/commit/7a5a3c45e0c8250bbfc9873e77540f5b903613e4) Merge branch 'open-webui:dev' into dev
- [`b795963`](https://github.com/open-webui/open-webui/commit/b79596332a4401ce243d3b6f0701db855787391c) chore: format
### 📊 Changes
**2 files changed** (+46 additions, -23 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/components/chat/Messages/RateComment.svelte` (+30 -22)
📝 `src/lib/i18n/locales/vi-VN/translation.json` (+16 -1)
</details>
### 📄 Description
## Description
This pull request adds internationalization support for the `LIKE_REASONS` and `DISLIKE_REASONS` arrays using the `svelte-i18n` library. It aims to enhance the accessibility of the application by providing multi-language support, ensuring that the feedback options are understandable in various languages.
---
### Changelog Entry
### Added
- Internationalization support for feedback reasons using `i18n`.
- Vietnamese translations for `LIKE_REASONS` and `DISLIKE_REASONS`.
### Fixed
- None
### Changed
- Updated `LIKE_REASONS` and `DISLIKE_REASONS` arrays to utilize i18n keys instead of static strings.
### Removed
- Removed hardcoded strings from feedback options, replaced with i18n keys.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1624
Author: @que-nguyen
Created: 4/20/2024
Status: ✅ Merged
Merged: 4/20/2024
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (3)
3df03faAdd i18n translation for feedback reasons7a5a3c4Merge branch 'open-webui:dev' into devb795963chore: format📊 Changes
2 files changed (+46 additions, -23 deletions)
View changed files
📝
src/lib/components/chat/Messages/RateComment.svelte(+30 -22)📝
src/lib/i18n/locales/vi-VN/translation.json(+16 -1)📄 Description
Description
This pull request adds internationalization support for the
LIKE_REASONSandDISLIKE_REASONSarrays using thesvelte-i18nlibrary. It aims to enhance the accessibility of the application by providing multi-language support, ensuring that the feedback options are understandable in various languages.Changelog Entry
Added
i18n.LIKE_REASONSandDISLIKE_REASONS.Fixed
Changed
LIKE_REASONSandDISLIKE_REASONSarrays to utilize i18n keys instead of static strings.Removed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.