From b57a0461cf9f69a48d9655456e304602acc80bba Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 23 Jun 2023 23:50:17 +0700 Subject: [PATCH] feature(language): add vi string + config Vn Signed-off-by: Hung <> --- .../keyboard/extensions/Context.kt | 2 + .../keyboard/helpers/Constants.kt | 1 + app/src/main/res/values-vi/strings.xml | 41 +++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 app/src/main/res/values-vi/strings.xml diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt index 34b4c08..f23a678 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt @@ -187,6 +187,7 @@ fun Context.getKeyboardLanguages(): ArrayList { RadioItem(LANGUAGE_SPANISH, getKeyboardLanguageText(LANGUAGE_SPANISH)), RadioItem(LANGUAGE_SWEDISH, getKeyboardLanguageText(LANGUAGE_SWEDISH)), RadioItem(LANGUAGE_TURKISH_Q, getKeyboardLanguageText(LANGUAGE_TURKISH_Q)), + RadioItem(LANGUAGE_VIETNAMESE_TELEX, getKeyboardLanguageText(LANGUAGE_VIETNAMESE_TELEX)), ) } @@ -209,6 +210,7 @@ fun Context.getKeyboardLanguageText(language: Int): String { LANGUAGE_SPANISH -> getString(R.string.translation_spanish) LANGUAGE_SWEDISH -> getString(R.string.translation_swedish) LANGUAGE_TURKISH_Q -> "${getString(R.string.translation_turkish)} (Q)" + LANGUAGE_VIETNAMESE_TELEX -> "${getString(R.string.translation_vietnamese)} (Telex)" else -> "${getString(R.string.translation_english)} (QWERTY)" } } diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt index f466092..468de4f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt @@ -43,6 +43,7 @@ const val LANGUAGE_NORWEGIAN = 14 const val LANGUAGE_SWEDISH = 15 const val LANGUAGE_DANISH = 16 const val LANGUAGE_FRENCH_BEPO = 17 +const val LANGUAGE_VIETNAMESE_TELEX = 18 // keyboard height multiplier options const val KEYBOARD_HEIGHT_MULTIPLIER_SMALL = 1 diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml new file mode 100644 index 0000000..d116d5c --- /dev/null +++ b/app/src/main/res/values-vi/strings.xml @@ -0,0 +1,41 @@ + + + Simple Keyboard + Bàn phím + Vui lòng bật Bàn phím đơn giản trên màn hình tiếp theo để biến nó thành bàn phím khả dụng. Nhấn \'Quay lại\' sau khi được bật. + Thay đổi bàn phím + + Quản lý các mục trong khay nhớ tạm + Khay nhớ tạm của bạn trống. + Sau khi bạn sao chép một số văn bản, văn bản đó sẽ hiển thị ở đây. Bạn cũng có thể ghim các clip để sau này chúng không biến mất. + Xóa dữ liệu trong khay nhớ tạm + Bạn có chắc chắn muốn xóa dữ liệu clipboard không? + Khay nhớ tạm + Gần đây + Hiện tại + Đã ghim + Thêm mục mới + Bạn có thể quản lý hoặc thêm clip tại đây để truy cập nhanh. + Clip văn bản + Ghim văn bản + Văn bản đã được ghim + Xuất các mục trong khay nhớ tạm + Nhập các mục trong khay nhớ tạm + + Xóa + Thay đổi kiểu bàn phím + Shift + Nhập + Phím cách + + Hiển thị nội dung khay nhớ tạm nếu có + Hiển thị cửa sổ bật lên khi nhấn phím + Rung khi nhấn phím + Ngôn ngữ bàn phím + Chiều cao bàn phím + Hiển thị đường viền phím + Hiển thị số trên một hàng riêng + Bắt đầu câu bằng chữ in hoa + + Biểu tượng cảm xúc +