mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-04-03 05:01:30 +02:00
add some strings with details related to pinning
This commit is contained in:
parent
df89b6a9b6
commit
9684f20162
@ -9,6 +9,7 @@ import androidx.recyclerview.widget.RecyclerView
|
||||
import androidx.recyclerview.widget.StaggeredGridLayoutManager
|
||||
import com.simplemobiletools.commons.extensions.applyColorFilter
|
||||
import com.simplemobiletools.commons.extensions.removeUnderlines
|
||||
import com.simplemobiletools.commons.extensions.toast
|
||||
import com.simplemobiletools.commons.helpers.ensureBackgroundThread
|
||||
import com.simplemobiletools.keyboard.R
|
||||
import com.simplemobiletools.keyboard.extensions.clipsDB
|
||||
@ -82,6 +83,7 @@ class ClipsKeyboardAdapter(
|
||||
applyColorFilter(textColor)
|
||||
|
||||
if (sectionLabel.isCurrent) {
|
||||
setOnLongClickListener { context.toast(R.string.pin_text); true; }
|
||||
setImageDrawable(resources.getDrawable(R.drawable.ic_pin))
|
||||
setOnClickListener {
|
||||
ensureBackgroundThread {
|
||||
@ -89,6 +91,7 @@ class ClipsKeyboardAdapter(
|
||||
val clip = Clip(null, currentClip)
|
||||
context.clipsDB.insertOrUpdate(clip)
|
||||
refreshClipsListener.refreshClips()
|
||||
context.toast(R.string.text_pinned)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Afegeix un element nou</string>
|
||||
<string name="manage_clips">Podeu gestionar o afegir clips aquí per accedir-hi ràpidament.</string>
|
||||
<string name="clip_text">Text del clip</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Suprimeix</string>
|
||||
<string name="keycode_mode_change">Canvia el tipus de teclat</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Add a new item</string>
|
||||
<string name="manage_clips">You can manage or add clips here for quick access.</string>
|
||||
<string name="clip_text">Clip text</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Slet</string>
|
||||
<string name="keycode_mode_change">Skift tastaturtype</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Eine neue Element hinzufügen</string>
|
||||
<string name="manage_clips">Hier können Sie Clips verwalten oder hinzufügen, um schnell darauf zugreifen zu können.</string>
|
||||
<string name="clip_text">Text ausschneiden</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Löschen</string>
|
||||
<string name="keycode_mode_change">Tastaturtyp ändern</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Προσθήκη νέου στοιχείου</string>
|
||||
<string name="manage_clips">Μπορείτε να διαχειριστείτε ή να προσθέσετε κλιπ εδώ για γρήγορη πρόσβαση.</string>
|
||||
<string name="clip_text">Κλιπ κειμένου</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Διαγραφή</string>
|
||||
<string name="keycode_mode_change">Αλλαγή τύπου πληκτρολογίου</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Add a new item</string>
|
||||
<string name="manage_clips">You can manage or add clips here for quick access.</string>
|
||||
<string name="clip_text">Clip text</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Delete</string>
|
||||
<string name="keycode_mode_change">Change keyboard type</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Ajouter un nouvel élément</string>
|
||||
<string name="manage_clips">Vous pouvez gérer ou ajouter des clips ici pour un accès rapide.</string>
|
||||
<string name="clip_text">Extraire le texte</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Supprimer</string>
|
||||
<string name="keycode_mode_change">Changer de type de clavier</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Add a new item</string>
|
||||
<string name="manage_clips">You can manage or add clips here for quick access.</string>
|
||||
<string name="clip_text">Clip text</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Izbriži</string>
|
||||
<string name="keycode_mode_change">Promijeni vrstu tipkovnice</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Aggiungi un nuovo elemento</string>
|
||||
<string name="manage_clips">Puoi gestire o aggiungere clip qui per un accesso rapido.</string>
|
||||
<string name="clip_text">Ritaglia il testo</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Elimina</string>
|
||||
<string name="keycode_mode_change">Cambia il tipo di tastiera</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Add a new item</string>
|
||||
<string name="manage_clips">You can manage or add clips here for quick access.</string>
|
||||
<string name="clip_text">Clip text</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Delete</string>
|
||||
<string name="keycode_mode_change">Keisti klaviatūros tipą</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Dodaj nowy element</string>
|
||||
<string name="manage_clips">Tutaj możesz zarządzać wpisami lub dodawać je, aby mieć do nich szybki dostęp.</string>
|
||||
<string name="clip_text">Tekst wpisu</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Usuń</string>
|
||||
<string name="keycode_mode_change">Zmień typ klawiatury</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Adicionar um novo item</string>
|
||||
<string name="manage_clips">Aqui, pode gerir ou adicionar entradas rapidamente.</string>
|
||||
<string name="clip_text">Entrada de texto</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Apagar</string>
|
||||
<string name="keycode_mode_change">Alterar o tipo de teclado</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Pridať novú položku</string>
|
||||
<string name="manage_clips">Na tomto mieste viete spravovať a pridávať nové pripnutia do schránky pre rýchly prístup.</string>
|
||||
<string name="clip_text">Text položky</string>
|
||||
<string name="pin_text">Pripnúť text</string>
|
||||
<string name="text_pinned">Text bol pripnutý</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Odstrániť</string>
|
||||
<string name="keycode_mode_change">Zmeniť typ klávesnice</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Add a new item</string>
|
||||
<string name="manage_clips">You can manage or add clips here for quick access.</string>
|
||||
<string name="clip_text">Clip text</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Sil</string>
|
||||
<string name="keycode_mode_change">Klavye türünü değiştir</string>
|
||||
|
@ -17,6 +17,8 @@
|
||||
<string name="add_new_item">Add a new item</string>
|
||||
<string name="manage_clips">You can manage or add clips here for quick access.</string>
|
||||
<string name="clip_text">Clip text</string>
|
||||
<string name="pin_text">Pin text</string>
|
||||
<string name="text_pinned">Text has been pinned</string>
|
||||
<!-- Accessibility -->
|
||||
<string name="keycode_delete">Delete</string>
|
||||
<string name="keycode_mode_change">Change keyboard type</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user