Skip to content

Commit

Permalink
Merge pull request #299 from kyrie25/translatable-string
Browse files Browse the repository at this point in the history
chore(translation): add strings
  • Loading branch information
dead8309 authored Oct 13, 2024
2 parents 6aeebd9 + d33dbda commit 22588eb
Show file tree
Hide file tree
Showing 24 changed files with 186 additions and 23 deletions.
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-fil/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-hr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>


</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-kr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-mm/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>


</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,13 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>

</resources>
10 changes: 9 additions & 1 deletion common/resources/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<string name="main_experimentalRpc">Экспериментальный RPC</string>
<string name="main_experimentalRpc_details">Экспериментальный RPC постоянно переключается между обнаружением приложений и RPC медиа-контента.</string>
<string name="main_customRpc_details">Kizzy позволяет создать полностью изменяемый статус Discord.</string>
<string name="main_comingSoon">В будущем...</string>
<string name="main_comingSoon">В будущем</string>
<string name="exit">Выйти</string>
<string name="logs">Логи</string>
<string name="drawer_subtitle_help">ПОМОЩЬ</string>
Expand Down Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Стримит на %1$s</string>
<string name="delete_config_successfully_toast">%1$s был успешно удалён</string>
<string name="service_enabled">Сервис включен</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-th/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
12 changes: 10 additions & 2 deletions common/resources/src/main/res/values-vi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<string name="use_low_res_icon_desc">Hiển thị hình ảnh có độ phân giải thấp hơn (bật tùy chọn này nếu ứng dụng gặp sự cố).</string>
<string name="delete_saved_icon_urls">Xóa liên kết hình ảnh đã lưu</string>
<string name="delete_saved_icon_urls_desc">Xóa các liên kết hình ảnh đã lưu (Chỉ sử dụng tùy chọn này khi cần thiết, ứng dụng sẽ tiêu tốn nhiều tài nguyên hơn để gửi lại tất cả hình ảnh đến máy chủ).</string>
<string name="app_crashed">Ứng dụng bị đóng đột ngột</string>
<string name="app_crashed">Lỗi nghiêm trọng</string>
<string name="share_crash_logs_desc">Vui lòng gửi báo cáo lỗi thông qua kênh Discord với mẫu sau:</string>
<string name="share_crash_logs">CHIA SẺ BÁO CÁO LỖI</string>
<string name="welcome">Chào mừng</string>
Expand Down Expand Up @@ -86,7 +86,7 @@
<string name="stream_url">URL phát trực tiếp</string>
<string name="stream_url_info">Chỉ các URL từ https://twitch.tv/ và https://youtube.com/ sẽ hoạt động.</string>
<string name="activity_button_max_character">Giới hạn ký tự tối đa là 31</string>
<string name="set_previous_run_config_in_custom_rpc">Đặt cấu hình chạy trước đó vào Trường tùy chỉnh trạng thái</string>
<string name="set_previous_run_config_in_custom_rpc">Đặt cấu hình chạy trước vào Trường tùy chỉnh trạng thái</string>
<string name="set_previous_run_config_in_custom_rpc_desc">Tự động đặt các trường trong trạng thái tùy chỉnh từ chạy trước đó</string>
<string name="clear_all_fields">Xóa tất cả các trường</string>
<string name="share_config">Chia sẻ Cấu hình</string>
Expand Down Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Đang phát trực tiếp tại %1$s</string>
<string name="delete_config_successfully_toast">%1$s đã được xóa thành công</string>
<string name="service_enabled">Dịch vụ đã khởi chạy</string>
<string name="no_internet_connection">Không kết nối Internet</string>
<string name="unknown_error">Mội lỗi bất ngờ đã xảy ra</string>
<string name="rpc_buttons">Nút hoạt động</string>
<string name="samsungRPC_settings">Bật Samsung RPC</string>
<string name="samsungRPC_settings_desc">Cho phép sử dụng tính năng Samsung RPC cho người dùng đã được xác minh.\nTính năng này sẽ bị loại bỏ ở phiên bản sắp tới.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Chọn dịch vụ RPC</string>
<string name="off">Tắt</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
8 changes: 8 additions & 0 deletions common/resources/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,12 @@
<string name="activity_streaming_title">Streaming at %1$s</string>
<string name="delete_config_successfully_toast">%1$s was deleted successfully</string>
<string name="service_enabled">Service enabled</string>
<string name="no_internet_connection">No internet connection</string>
<string name="unknown_error">An unexpected error occurred</string>
<string name="rpc_buttons">RPC buttons</string>
<string name="samsungRPC_settings">Enable Samsung RPC</string>
<string name="samsungRPC_settings_desc">Enables Samsung RPC for verified users.\nIt will be removed from next update.</string>
<string name="main_samsungRpc">Samsung RPC</string>
<string name="choose_rpc">Choose an RPC</string>
<string name="off">Off</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ fun GamesScreenPreview2() {
GamesScreen(
onEvent = {},
onBackPressed = {},
state = GamesState.Error("No Internet Connection"),
state = GamesState.Error(stringResource(id = R.string.no_internet_connection)),
isSearchBarVisible = false,
serviceEnabled = false
)
Expand Down Expand Up @@ -352,7 +352,7 @@ fun GamesScreenPreview5() {
GamesScreen(
onEvent = {},
onBackPressed = {},
state = GamesState.Error("No Internet Connection"),
state = GamesState.Error(stringResource(id = R.string.no_internet_connection)),
isSearchBarVisible = true,
serviceEnabled = true
)
Expand Down
Loading

0 comments on commit 22588eb

Please sign in to comment.