-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
200 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ members = [ | |
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "8.3.0" | ||
version = "9.0.0" | ||
authors = ["AnnsAnn"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# i18n ReadME | ||
|
||
This folder contains internationalization (i18n) files for translating the bot messages into different languages. When translating, follow these instructions: | ||
|
||
1. **File Naming:** Create a new file named `<language_code>.yml` for your language within this folder. | ||
|
||
2. **Base File:** Start by copying the contents of the `en.yml` file into your newly created file. | ||
|
||
3. **Translation:** Replace the English strings with their translated counterparts in your language. Ensure that the structure of the file remains intact, including placeholders and formatting. | ||
|
||
4. **Testing:** Test the translations thoroughly to ensure accuracy and readability. | ||
- I'd recommend [i18n Ally](https://marketplace.visualstudio.com/items?itemName=Lokalise.i18n-ally) for VSCode to help you with the translations. | ||
|
||
5. **Contributing:** If you've made significant improvements or translations for a language that doesn't exist yet, consider submitting a pull request to the repository. | ||
|
||
## Example Translation File Structure | ||
|
||
```yaml | ||
_version: 1 | ||
referenced: "🔗 Your message was referenced by <@%{USER_ID}< (%{AUTHOR_NICKNAME}) in: %{MESSAGE_URL}" | ||
error_sending_message: "🚨 Error sending message: %{WHY}" | ||
nothing_selected: "🚨 Nothing selected" | ||
``` | ||
## Notes | ||
- **Placeholder Usage:** Do not alter the placeholders (`%{...}`). They are used for dynamic content insertion and should be retained in your translations. | ||
|
||
- **URLs and Links:** Be cautious when translating URLs or links. Ensure that they remain functional and relevant in your language context. | ||
|
||
- **Consistency:** Maintain consistency in tone, style, and formatting throughout the translation for a seamless user experience. | ||
|
||
- **Fallback Language:** If a user's language is not supported or the specific string hasn't been translated, the bot will default to English. | ||
|
||
Thank you for your contribution to making the bot accessible to users worldwide! 🌍✨ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
_version: 1 | ||
referenced: "🔗 Je bericht is genoemd door <@%{USER_ID}< (%{AUTHOR_NICKNAME}) in: %{MESSAGE_URL}" | ||
error_sending_message: "🚨 Fout bij het verzenden van bericht: %{WHY}" | ||
nothing_selected: "🚨 Niets geselecteerd" | ||
error_delete_message: "🚨 Fout bij het verwijderen van bericht: %{WHY}" | ||
source_code: "☁️ De broncode is te vinden op: %{URL}" | ||
menu_meme: "🕺 https://www.youtube.com/watch?v=dQw4w9WgXcQ" # Houd het alsjeblieft onschadelijk bij het wijzigen | ||
disable: "⛔ Schakel deze bot uit voor deze site met behulp van de /change slash-opdracht!" | ||
download_url: "⏬ Jouw download-URL is: <%{URL}>" | ||
no_download: "⚠️ Geen download-URL gevonden!" | ||
not_author: "⚠️ Jij bent niet de auteur van dit bericht!" | ||
deleted_message: "💣 Verwijderd bericht" | ||
remove: "❌ Verwijder dit bericht" | ||
change_info: "⛔ Gebruik /change om de bot voor deze site uit te schakelen!" | ||
menu: "Menu" | ||
download: "⏬ Media downloaden" | ||
version: "🏳️⚧️ Draait v%{VERSION} van Sphene met behulp van Thorium" | ||
psky: "🔄️ Verander naar: Psky" | ||
fixbluesky: "🔄️ Verander naar: FixBluesky" | ||
media_only: "🖼️ Alleen media" | ||
show_original_bluesky: "☁️ Toon originele Bluesky URL" | ||
vxtwitter: "🔄️ Verander naar: VXTwitter" | ||
fxtwitter: "🔄️ Verander naar: FXTwitter" | ||
media_only_vxtwitter: "🖼️ Alleen media (VXTwitter)" | ||
media_only_fxtwitter: "🖼️ Alleen media (FXTwitter)" | ||
show_original_twitter: "🤨 Toon originele Twitter URL" | ||
ddinstagram: "🔄️ Verander naar: DDInstagram" | ||
show_original_instagram: "📸 Toon originele Instagram URL" | ||
tiktxk: "🔄️ Verander naar: TikTxk" | ||
tnktok: "🔄️ Verander naar: Tnktok" | ||
show_media_only_tiktok: "🖼️ Alleen media" | ||
show_original_tiktok: "👶 Toon originele TikTok URL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.