mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	tweaking a string to make it clearer
This commit is contained in:
		| @@ -132,10 +132,10 @@ class SettingsActivity : SimpleActivity() { | ||||
|     } | ||||
|  | ||||
|     private fun setupMoveUndoneChecklistItems() { | ||||
|         settings_move_undone_checklist_items.isChecked = config.moveUndoneChecklistItems | ||||
|         settings_move_undone_checklist_items.isChecked = config.moveDoneChecklistItems | ||||
|         settings_move_undone_checklist_items_holder.setOnClickListener { | ||||
|             settings_move_undone_checklist_items.toggle() | ||||
|             config.moveUndoneChecklistItems = settings_move_undone_checklist_items.isChecked | ||||
|             config.moveDoneChecklistItems = settings_move_undone_checklist_items.isChecked | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -94,7 +94,7 @@ class WidgetAdapter(val context: Context, val intent: Intent) : RemoteViewsServi | ||||
|         if (note?.type == NoteType.TYPE_CHECKLIST.value) { | ||||
|             val checklistItemType = object : TypeToken<List<ChecklistItem>>() {}.type | ||||
|             checklistItems = Gson().fromJson<ArrayList<ChecklistItem>>(note!!.value, checklistItemType) ?: ArrayList(1) | ||||
|             if (context.config.moveUndoneChecklistItems) { | ||||
|             if (context.config.moveDoneChecklistItems) { | ||||
|                 checklistItems.sortBy { it.isDone } | ||||
|             } | ||||
|         } | ||||
|   | ||||
| @@ -66,7 +66,7 @@ class ChecklistFragment : NoteFragment(), ChecklistItemsListener { | ||||
|                     migrateCheckListOnFailure(storedNote) | ||||
|                 } | ||||
|  | ||||
|                 if (config?.moveUndoneChecklistItems == true) { | ||||
|                 if (config?.moveDoneChecklistItems == true) { | ||||
|                     items.sortBy { it.isDone } | ||||
|                 } | ||||
|  | ||||
|   | ||||
| @@ -75,9 +75,9 @@ class Config(context: Context) : BaseConfig(context) { | ||||
|         get() = prefs.getInt(LAST_CREATED_NOTE_TYPE, NoteType.TYPE_TEXT.value) | ||||
|         set(lastCreatedNoteType) = prefs.edit().putInt(LAST_CREATED_NOTE_TYPE, lastCreatedNoteType).apply() | ||||
|  | ||||
|     var moveUndoneChecklistItems: Boolean | ||||
|         get() = prefs.getBoolean(MOVE_UNDONE_CHECKLIST_ITEMS, false) | ||||
|         set(moveUndoneChecklistItems) = prefs.edit().putBoolean(MOVE_UNDONE_CHECKLIST_ITEMS, moveUndoneChecklistItems).apply() | ||||
|     var moveDoneChecklistItems: Boolean | ||||
|         get() = prefs.getBoolean(MOVE_DONE_CHECKLIST_ITEMS, false) | ||||
|         set(moveDoneChecklistItems) = prefs.edit().putBoolean(MOVE_DONE_CHECKLIST_ITEMS, moveDoneChecklistItems).apply() | ||||
|  | ||||
|     @SuppressLint("RtlHardcoded") | ||||
|     fun getTextGravity() = when (gravity) { | ||||
|   | ||||
| @@ -29,7 +29,7 @@ const val LAST_USED_SAVE_PATH = "last_used_save_path" | ||||
| const val ENABLE_LINE_WRAP = "enable_line_wrap" | ||||
| const val USE_INCOGNITO_MODE = "use_incognito_mode" | ||||
| const val LAST_CREATED_NOTE_TYPE = "last_created_note_type" | ||||
| const val MOVE_UNDONE_CHECKLIST_ITEMS = "move_undone_checklist_items" | ||||
| const val MOVE_DONE_CHECKLIST_ITEMS = "move_undone_checklist_items"     // it has been replaced from moving undone items at the top to moving done to bottom | ||||
| const val FONT_SIZE_PERCENTAGE = "font_size_percentage" | ||||
|  | ||||
| // gravity | ||||
|   | ||||
| @@ -341,7 +341,7 @@ | ||||
|                 android:background="@null" | ||||
|                 android:clickable="false" | ||||
|                 android:paddingStart="@dimen/medium_margin" | ||||
|                 android:text="@string/move_undone_checklist_items" | ||||
|                 android:text="@string/move_done_checklist_items" | ||||
|                 app:switchPadding="@dimen/medium_margin" /> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">حفظ الملاحظات تلقائيا</string> | ||||
|     <string name="enable_line_wrap">تفعيل التفاف الخط</string> | ||||
|     <string name="use_incognito_mode">استخدام وضع التصفح المتخفي للوحات المفاتيح</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">قائمة تدقيق</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Qeydləri avtomatik saxla</string> | ||||
|     <string name="enable_line_wrap">Cız sarğısını göstər</string> | ||||
|     <string name="use_incognito_mode">Use Incognito mode of keyboards</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklist</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Automaticky ukládat poznámky</string> | ||||
|     <string name="enable_line_wrap">Povolit zalamování řádků</string> | ||||
|     <string name="use_incognito_mode">Použít Inkognito mód klávesnic</string> | ||||
|     <string name="move_undone_checklist_items">Přesunout nesplněné položky seznamu položek nahoru</string> | ||||
|     <string name="move_done_checklist_items">Přesunout splněné položky seznamu položek nadol</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Seznam položek</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Awto-gadw nodiadau</string> | ||||
|     <string name="enable_line_wrap">Galluogi amlapio llinellau</string> | ||||
|     <string name="use_incognito_mode">Defnyddio modd cyfrinachol bysellfyrddau</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Rhestr wirio</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Autogem noter</string> | ||||
|     <string name="enable_line_wrap">Aktiver tekstombrydning</string> | ||||
|     <string name="use_incognito_mode">Anvend inkognito-tilstand til tastatur</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Tjekliste</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Notizen automatisch speichern</string> | ||||
|     <string name="enable_line_wrap">Zeilenumbruch aktivieren</string> | ||||
|     <string name="use_incognito_mode">Benutze den Inkognitomodus von Tastaturen</string> | ||||
|     <string name="move_undone_checklist_items">Verschiebe erledigte Checklisteneinträge nach unten</string> | ||||
|     <string name="move_done_checklist_items">Verschiebe erledigte Checklisteneinträge nach unten</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checkliste</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Αυτόματη αποθήκευση σημειώσεων</string> | ||||
|     <string name="enable_line_wrap">Ενεργοποίηση αναδίπλωσης γραμμής</string> | ||||
|     <string name="use_incognito_mode">Χρήση λειτουργίας Incognito πληκτρολόγιου</string> | ||||
|     <string name="move_undone_checklist_items">Μετακίνηση ανεπιτυχών λίστας ελέγχου στο επάνω μέρος</string> | ||||
|     <string name="move_done_checklist_items">Μετακίνηση ανεπιτυχών λίστας ελέγχου στο επάνω μέρος</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Λίστα ελέγχου</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Guardado automático de notas</string> | ||||
|     <string name="enable_line_wrap">Activar ajuste de línea</string> | ||||
|     <string name="use_incognito_mode">Usar modo incógnito de los teclados</string> | ||||
|     <string name="move_undone_checklist_items">Mover Elementos sin erminar de una lista al inicio</string> | ||||
|     <string name="move_done_checklist_items">Mover Elementos sin erminar de una lista al inicio</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Lista</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Muistiinpanojen automaattinen tallennus</string> | ||||
|     <string name="enable_line_wrap">Ota käyttöön automaattinen rivitys</string> | ||||
|     <string name="use_incognito_mode">Käytä näppäimistöjen Incognito-tilaa</string> | ||||
|     <string name="move_undone_checklist_items">Siirrä tekemättömät kohdat muistilistasta ylimmäksi</string> | ||||
|     <string name="move_done_checklist_items">Siirrä tekemättömät kohdat muistilistasta ylimmäksi</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Muistilista</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Sauvegarder automatiquement les notes</string> | ||||
|     <string name="enable_line_wrap">Activer le retour à la ligne</string> | ||||
|     <string name="use_incognito_mode">Utiliser le mode incognito des claviers</string> | ||||
|     <string name="move_undone_checklist_items">Déplacer les éléments de cheklist inachevés en haut</string> | ||||
|     <string name="move_done_checklist_items">Déplacer les éléments de cheklist inachevés en haut</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklist</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Gardado automático</string> | ||||
|     <string name="enable_line_wrap">Habilitar sangrado de liña</string> | ||||
|     <string name="use_incognito_mode">Usar o modo incógnito dos teclados</string> | ||||
|     <string name="move_undone_checklist_items"> Mover os elementos dunha lista de verificación non rematada a arriba</string> | ||||
|     <string name="move_done_checklist_items"> Mover os elementos dunha lista de verificación non rematada a arriba</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Lista de verificación</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Automatsko spremanje bilješki</string> | ||||
|     <string name="enable_line_wrap">Omogući omotavanje linije</string> | ||||
|     <string name="use_incognito_mode">Use Incognito mode of keyboards</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Spisak</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Autosave notes</string> | ||||
|     <string name="enable_line_wrap">Enable line wrap</string> | ||||
|     <string name="use_incognito_mode">Use Incognito mode of keyboards</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklist</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Otomatis simpan catatan</string> | ||||
|     <string name="enable_line_wrap">Aktifkan baris berlibat</string> | ||||
|     <string name="use_incognito_mode">Gunakan mode papan ketik incognito</string> | ||||
|     <string name="move_undone_checklist_items">Pindah checklist yang belum selesai ke urutan atas</string> | ||||
|     <string name="move_done_checklist_items">Pindah checklist yang belum selesai ke urutan atas</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklist</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Otomatis simpan catatan</string> | ||||
|     <string name="enable_line_wrap">Aktifkan baris berlibat</string> | ||||
|     <string name="use_incognito_mode">Gunakan mode papan ketik incognito</string> | ||||
|     <string name="move_undone_checklist_items">Pindah checklist yang belum selesai ke urutan atas</string> | ||||
|     <string name="move_done_checklist_items">Pindah checklist yang belum selesai ke urutan atas</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklist</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Salva automaticamente le note</string> | ||||
|     <string name="enable_line_wrap">Abilita a capo automatico</string> | ||||
|     <string name="use_incognito_mode">Usa la modalità incognito per le tastiere</string> | ||||
|     <string name="move_undone_checklist_items">Sposta gli elementi non spuntati in cima</string> | ||||
|     <string name="move_done_checklist_items">Sposta gli elementi non spuntati in cima</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Scaletta</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">メモを自動保存する</string> | ||||
|     <string name="enable_line_wrap">行の折り返しを有効にする</string> | ||||
|     <string name="use_incognito_mode">キーボードのシークレットモードを使用する</string> | ||||
|     <string name="move_undone_checklist_items">チェックリストの未完了リストを上に移動</string> | ||||
|     <string name="move_done_checklist_items">チェックリストの未完了リストを上に移動</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">チェックリスト</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Automatiškai išsaugoti užrašus</string> | ||||
|     <string name="enable_line_wrap">naudoti eilutės perkėlimą</string> | ||||
|     <string name="use_incognito_mode">Use Incognito mode of keyboards</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Kontrolinis sąrašas</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Notities automatisch opslaan</string> | ||||
|     <string name="enable_line_wrap">Automatische terugloop inschakelen</string> | ||||
|     <string name="use_incognito_mode">Incognito-modus van toetsenbord gebruiken</string> | ||||
|     <string name="move_undone_checklist_items">Afgewerkte items naar onderen verplaatsen</string> | ||||
|     <string name="move_done_checklist_items">Afgewerkte items naar onderen verplaatsen</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Lijst</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Autozapis notatek</string> | ||||
|     <string name="enable_line_wrap">Zawijanie linii</string> | ||||
|     <string name="use_incognito_mode">Use Incognito mode of keyboards</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklist</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Salvar notas automaticamente</string> | ||||
|     <string name="enable_line_wrap">Ativar quebra de linha</string> | ||||
|     <string name="use_incognito_mode">Usar o teclado no modo de Navegação Anônima</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Lista de verificação</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Guardar nota automaticamente</string> | ||||
|     <string name="enable_line_wrap">Ativar quebra de linha</string> | ||||
|     <string name="use_incognito_mode">Utilizar modo incógnito no teclado</string> | ||||
|     <string name="move_undone_checklist_items">Mover itens não realizados para o topo</string> | ||||
|     <string name="move_done_checklist_items">Mover itens não realizados para o topo</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Lista de verificação</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Автосохранение заметок</string> | ||||
|     <string name="enable_line_wrap">Переносить строки</string> | ||||
|     <string name="use_incognito_mode">Использовать режим инкогнито для клавиатур</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Список</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Automaticky ukladať poznámky</string> | ||||
|     <string name="enable_line_wrap">Povoliť zalamovanie riadkov</string> | ||||
|     <string name="use_incognito_mode">Použiť Inkognito mód klávesníc</string> | ||||
|     <string name="move_undone_checklist_items">Presunúť nesplnené položky zo zoznamu položiek na vrch</string> | ||||
|     <string name="move_done_checklist_items">Presunúť splnené položky zo zoznamu položiek na spodok</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Zoznam položiek</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Spara anteckningar automatiskt</string> | ||||
|     <string name="enable_line_wrap">Aktivera radbrytning</string> | ||||
|     <string name="use_incognito_mode">Använd tangentbordets inkognitoläge</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklista</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Notları otomatik kaydet</string> | ||||
|     <string name="enable_line_wrap">Sözcük kaydırmayı etkinleştir</string> | ||||
|     <string name="use_incognito_mode">Klavyelerin Gizli modunu kullan</string> | ||||
|     <string name="move_undone_checklist_items">Tamamlanmamış yapılacak listesi öğelerini en üste taşı</string> | ||||
|     <string name="move_done_checklist_items">Tamamlanmamış yapılacak listesi öğelerini en üste taşı</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Yapılacak listesi</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Автозбереження нотаток</string> | ||||
|     <string name="enable_line_wrap">Продовжувати друк з нового рядка</string> | ||||
|     <string name="use_incognito_mode">Використовувати режим Приватності в клавіатурі</string> | ||||
|     <string name="move_undone_checklist_items">Move undone checklist items at the top</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Список</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">自动保存笔记</string> | ||||
|     <string name="enable_line_wrap">启用行折叠</string> | ||||
|     <string name="use_incognito_mode">对于键盘使用隐私模式</string> | ||||
|     <string name="move_undone_checklist_items">移动未完成的清单至顶端</string> | ||||
|     <string name="move_done_checklist_items">移动未完成的清单至顶端</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">清单</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">自動儲存筆記</string> | ||||
|     <string name="enable_line_wrap">自動換行</string> | ||||
|     <string name="use_incognito_mode">使用無痕模式的鍵盤</string> | ||||
|     <string name="move_undone_checklist_items">將未完成的核對清單項目移動至頂端</string> | ||||
|     <string name="move_done_checklist_items">將未完成的核對清單項目移動至頂端</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">核對清單</string> | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|     <string name="autosave_notes">Autosave notes</string> | ||||
|     <string name="enable_line_wrap">Enable line wrap</string> | ||||
|     <string name="use_incognito_mode">Use Incognito mode of keyboards</string> | ||||
|     <string name="move_undone_checklist_items">Move done checklist items to the bottom</string> | ||||
|     <string name="move_done_checklist_items">Move done checklist items to the bottom</string> | ||||
|  | ||||
|     <!-- Checklists --> | ||||
|     <string name="checklist">Checklist</string> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ buildscript { | ||||
|     } | ||||
|  | ||||
|     dependencies { | ||||
|         classpath 'com.android.tools.build:gradle:4.1.1' | ||||
|         classpath 'com.android.tools.build:gradle:4.1.2' | ||||
|         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||||
|  | ||||
|         // NOTE: Do not place your application dependencies here; they belong | ||||
|   | ||||
		Reference in New Issue
	
	Block a user