Merge remote-tracking branch 'upstream/master' into local/libcosmic-path-patch

# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/menu.rs
#	src/text_box.rs
This commit is contained in:
Lionel DARNIS 2026-08-19 21:59:53 +02:00
commit 36d66d7ef2
29 changed files with 1508 additions and 813 deletions

1669
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[package]
name = "cosmic-edit"
version = "1.3.0"
version = "1.6.0"
authors = ["Jeremy Soller <jeremy@system76.com>"]
edition = "2024"
license = "GPL-3.0-only"

24
debian/changelog vendored
View file

@ -1,3 +1,27 @@
cosmic-edit (1.6.0) noble; urgency=medium
* Epoch 1.6.0 version update
-- Jeremy Soller <jeremy@system76.com> Tue, 18 Aug 2026 07:13:06 -0600
cosmic-edit (1.5.0) noble; urgency=medium
* Epoch 1.5.0 version update
-- Jeremy Soller <jeremy@system76.com> Tue, 28 Jul 2026 09:13:50 -0600
cosmic-edit (1.4.0) noble; urgency=medium
* Epoch 1.4.0 version update
-- Jeremy Soller <jeremy@system76.com> Mon, 20 Jul 2026 14:35:49 -0600
cosmic-edit (1.3.0) noble; urgency=medium
* Epoch 1.3.0 version update
-- Jeremy Soller <jeremy@system76.com> Sun, 12 Jul 2026 13:20:55 -0600
cosmic-edit (1.2.0) noble; urgency=medium
* Epoch 1.2.0 version update

View file

@ -49,7 +49,7 @@ settings = الإعدادات
### Appearance
appearance = المظهر
theme = النسق
theme = السمة
match-desktop = طابق سطح المكتب
dark = داكن
light = فاتح
@ -96,7 +96,7 @@ document-type = نوع المستند...
encoding = الترميز...
menu-git-management = إدارة Git...
print = اطبع
quit = أنهِ
quit = إنهِ
## Edit

View file

@ -1,3 +1,5 @@
cancel = Cancel·lar
quit = Surt
settings = Configuració
save = Desa
undo = Desfés

View file

@ -71,9 +71,9 @@ automatic-indentation = Automatické odsazení
tab-width = Šířka tabulátoru: { $tab_width }
convert-indentation-to-spaces = Převést odsazení na mezery
convert-indentation-to-tabs = Převést odsazení na tabulátory
word-wrap = Zalamování slov
word-wrap = Zalamování řádků
show-line-numbers = Zobrazit čísla řádků
highlight-current-line = Zvýraznění aktuálního řádku
highlight-current-line = Zvýraznit aktuální řádek
syntax-highlighting = Zvýraznění syntaxe...
menu-settings = Nastavení...
menu-keyboard-shortcuts = Klávesové zkratky...

View file

@ -0,0 +1,91 @@
save = Gem
cancel = Annuller
quit = Afslut
cosmic-text-editor = COSMIC-teksteditor
new-document = Nyt dokument
open-project = Åbn project
repository = Pakkearkiv
todo = TODO
document-statistics = Dokument-statistikker
word-count = Antal ord
character-count = Tegn
character-count-no-spaces = Tegn (uden mellemrum)
line-count = Linjer
appearance = Udseende
git-management = Git-håndtering
theme = Tema
git-management-description = Git.håndtering er et udvikler-værktøj, som bruges til versionskontrol-operationer.
match-desktop = Følg skrivebordets indstillinger
git-management-loading = Indlæser Git-håndtering...
dark = Mørkt
stage = Bered
light = Lyst
staged-changes = Forberedte ændringer
file = Fil
unstage = Fjern fra forberedelse
unstaged-changes = Uforberedte ændringer
project-search = Projektsøgning
prompt-save-changes-title = Gem ændringer før lukning?
close-file = Luk fil
prompt-unsaved-changes = Du har ugemte ændringer. Hvis du fortsætter uden at gemme, vil disse ændringer gå tabt.
discard = Kassér ændringer
save-all = Gem alle
default-zoom-step = Zoom-trin
syntax-dark = Syntaks mørk
syntax-light = Syntaks lys
default-font = Standard skrifttype
default-font-size = Standard skriftstørrelse
keyboard-shortcuts = Tastaturgenveje
enable-vim-bindings = Aktivér Vim-bindinger
find-placeholder = Find...
find-previous = Find forrige
find-next = Find næste
replace-placeholder = Erstat...
replace = Erstat
replace-all = Erstat alle
case-sensitive = Forskel på store og små bogstaver
use-regex = Anvend regex
wrap-around = Omslut
new-file = Ny fil
new-window = Nyt vindue
open-file = Åbn fil...
open-recent-file = Åbn seneste fil
menu-open-project = Åbn projekt...
open-recent-project = Åbn seneste projekt
close-project = Luk projekt
edit = Redigér
save-as = Gem som...
copy = Kopiér
revert-all-changes = Tilbagefør alle ændringer
paste = Indsæt
menu-document-statistics = Dokument-statistikker...
select-all = Vælg alle
document-type = Dokumenttype...
find = Find
encoding = Kodning...
menu-git-management = Git-håndtering...
print = Udskriv
view = Vis
undo = Fortryd
redo = Omgør
cut = Klip
find-in-project = Find i projekt...
menu-settings = Indstillinger...
spell-check = Stavekontrol...
zoom-in = Zoom ind
default-size = Standardstørrelse
zoom-out = Zoom ud
indentation = Indrykning
automatic-indentation = Automatisk Indrykning
tab-width = Fanebladsbredde: { $tab_width }
convert-indentation-to-spaces = Konvertér indryk til mellemrum
convert-indentation-to-tabs = Konvertér indryk til tabulaturer
comment = Teksteditor til COSMIC-skrivebordet
menu-keyboard-shortcuts = Tastaturgenveje…
word-wrap = Tekstombrydning
show-line-numbers = Vis linjenumre
highlight-current-line = Fremhæv aktuel linje
syntax-highlighting = Syntaksfremhævning…
menu-about = Om COSMIC Teksteditor…
support = Support
settings = Indstillinger

View file

@ -21,7 +21,7 @@ line-count = Zeilen
git-management = Git-Verwaltung
git-management-description = Git-Verwaltung ist ein Entwicklerwerkzeug, das für die Versionskontrolle eingesetzt wird.
git-management-loading = Git-Verwaltung wird geladen...
git-management-loading = Git-Verwaltung wird geladen ...
stage = Vormerken
staged-changes = Vorgemerkte Änderungen
unstage = Nicht vormerken
@ -50,8 +50,8 @@ theme = Thema
match-desktop = An Desktop anpassen
dark = Dunkel
light = Hell
syntax-dark = Syntax dunkel
syntax-light = Syntax hell
syntax-dark = Dunkle Syntax
syntax-light = Helle Syntax
default-font = Standardschriftart
default-font-size = Standardschriftgröße
default-zoom-step = Zoomstufen
@ -61,10 +61,10 @@ default-zoom-step = Zoomstufen
keyboard-shortcuts = Tastenkombinationen
enable-vim-bindings = Vim-Kombinationen aktivieren
# Suchen
find-placeholder = Suchen...
find-placeholder = Suchen ...
find-previous = Vorherigen suchen
find-next = Nächsten suchen
replace-placeholder = Ersetzen...
replace-placeholder = Ersetzen ...
replace = Ersetzen
replace-all = Alles ersetzen
case-sensitive = Groß-/Kleinschreibung beachten
@ -79,19 +79,19 @@ wrap-around = Umlaufen
file = Datei
new-file = Neue Datei
new-window = Neues Fenster
open-file = Datei öffnen...
open-file = Datei öffnen ...
open-recent-file = Letzte Datei öffnen
close-file = Datei schließen
menu-open-project = Projekt öffnen...
menu-open-project = Projekt öffnen ...
open-recent-project = Letztes Projekt öffnen
close-project = Projekt schließen
save = Speichern
save-as = Speichern unter...
save-as = Speichern unter ...
revert-all-changes = Alle Änderungen rückgängig machen
menu-document-statistics = Dokument-Statistiken...
document-type = Dokumententyp...
encoding = Kodierung...
menu-git-management = Git-Verwaltung...
menu-document-statistics = Dokument-Statistiken ...
document-type = Dokumententyp ...
encoding = Kodierung ...
menu-git-management = Git-Verwaltung ...
print = Drucken
quit = Beenden
@ -105,8 +105,8 @@ copy = Kopieren
paste = Einfügen
select-all = Alles auswählen
find = Suchen
find-in-project = Im Projekt suchen...
spell-check = Rechtschreibprüfung...
find-in-project = Im Projekt suchen ...
spell-check = Rechtschreibprüfung ...
## Ansicht
@ -125,10 +125,10 @@ convert-indentation-to-tabs = Einrückung in Tabulatoren umwandeln
word-wrap = Zeilenumbruch
show-line-numbers = Zeilennummern anzeigen
highlight-current-line = Aktuelle Zeile hervorheben
syntax-highlighting = Syntaxhervorhebung...
menu-settings = Einstellungen...
menu-keyboard-shortcuts = Tastenkombinationen...
menu-about = Über COSMIC Texteditor...
repository = Repository
syntax-highlighting = Syntaxhervorhebung ...
menu-settings = Einstellungen ...
menu-keyboard-shortcuts = Tastenkombinationen ...
menu-about = Über COSMIC Texteditor ...
repository = Repositorium
support = Unterstützung
comment = Texteditor für den COSMIC Desktop

View file

@ -45,7 +45,7 @@ menu-document-statistics = Στατιστικά εγγράφου...
document-type = Τύπος εγγράφου...
encoding = Κωδικοποίηση...
print = Εκτύπωση
quit = Έξοδος
quit = Τερματισμός
## Edit

View file

@ -0,0 +1,91 @@
save = Save
quit = Quit
cancel = Cancel
settings = Settings
appearance = Appearance
theme = Theme
match-desktop = Match desktop
dark = Dark
file = File
close-file = Close file
syntax-light = Syntax light
cosmic-text-editor = COSMIC Text Editor
comment = Text editor for the COSMIC desktop
new-document = New document
open-project = Open project
todo = TODO
repository = Repository
support = Support
document-statistics = Document statistics
word-count = Word count
character-count = Characters
character-count-no-spaces = Characters (without spaces)
line-count = Lines
git-management = Git management
git-management-description = Git management is a developer tool used for version control operations.
keyboard-shortcuts = Keyboard shortcuts
replace = Replace
git-management-loading = Loading Git management...
stage = Stage
staged-changes = Staged changes
unstage = Unstage
unstaged-changes = Unstaged changes
project-search = Project search
prompt-save-changes-title = Save changes before closing?
prompt-unsaved-changes = You have unsaved changes. If you continue without saving, these changes will be lost.
discard = Discard changes
save-all = Save all
syntax-dark = Syntax dark
default-font = Default font
default-font-size = Default font size
default-zoom-step = Zoom steps
enable-vim-bindings = Enable Vim bindings
find-placeholder = Find...
find-previous = Find previous
find-next = Find next
replace-placeholder = Replace...
replace-all = Replace all
case-sensitive = Case sensitive
use-regex = Use regex
wrap-around = Wrap around
new-file = New file
new-window = New window
open-file = Open file...
open-recent-file = Open recent file
menu-open-project = Open project...
open-recent-project = Open recent project
close-project = Close project
save-as = Save as...
revert-all-changes = Revert all changes
menu-document-statistics = Document statistics...
document-type = Document type...
encoding = Encoding...
menu-git-management = Git management...
print = Print
light = Light
edit = Edit
undo = Undo
redo = Redo
cut = Cut
copy = Copy
paste = Paste
select-all = Select all
find = Find
find-in-project = Find in project...
spell-check = Spell check...
view = View
zoom-in = Zoom in
default-size = Default size
zoom-out = Zoom out
indentation = Indentation
automatic-indentation = Automatic Indentation
tab-width = Tab width: { $tab_width }
convert-indentation-to-spaces = Convert indentation to spaces
convert-indentation-to-tabs = Convert indentation to tabs
menu-keyboard-shortcuts = Keyboard shortcuts...
word-wrap = Word wrap
show-line-numbers = Show line numbers
highlight-current-line = Highlight current line
syntax-highlighting = Syntax highlighting...
menu-settings = Settings...
menu-about = About COSMIC Text Editor...

View file

@ -31,7 +31,7 @@ settings = Asetukset
appearance = Ulkoasu
theme = Teema
match-desktop = Sovita työpöytään
match-desktop = Sama kuin työpöytä
dark = Tumma
light = Vaalea
syntax-dark = Tumma syntaksi

91
i18n/gl/cosmic_edit.ftl Normal file
View file

@ -0,0 +1,91 @@
save = Gardar
cancel = Cancelar
cosmic-text-editor = Editor de Texto de COSMIC
comment = Editor de texto para o escritorio COSMIC
new-document = Novo documento
open-project = Abrir proxecto
todo = TODO
repository = Repositorio
support = Soporte
document-statistics = Estadisticas do documento
word-count = Reconto de palabras
character-count = Carácteres
character-count-no-spaces = Carácter (sen espazos)
line-count = Liñas
git-management = Xestion de Git
git-management-description = A xestión de Git é unha ferramenta de desenvolvemento utilizada para operacións de control de versións.
git-management-loading = Cargando a xestión de Git...
stage = Etapa
staged-changes = Cambios preparados
unstage = Sen preparar
unstaged-changes = Cambios sen preparar
project-search = Buscar proxecto
prompt-save-changes-title = Gardar os cambios antes de pechar?
prompt-unsaved-changes = Tes cambios sen gardar. Se continúas sen gardalos, estes cambios perderanse.
discard = Descartar cambios
save-all = Gardar todo
settings = Axustes
appearance = Apariencia
theme = Tema
match-desktop = Axustar ao escritorio
dark = Escuro
light = Claro
syntax-dark = Sintaxe escura
syntax-light = Sintaxe clara
default-font = Fonte por defecto
default-font-size = Tamaño de fonte por defecto
default-zoom-step = Pasos do zoom
keyboard-shortcuts = Atallos de teclado
enable-vim-bindings = Activar as asociacións de teclas de Vim
find-placeholder = Atopar…
find-previous = Atopar antes
find-next = Atopar seguinte
replace-placeholder = Remplazar…
replace = Remplazar
replace-all = Remplazar todo
case-sensitive = Distinguir maiúsculas e minúsculas
use-regex = Usar expresións regulares
wrap-around = Buscar de comezo a fin
file = Ficheiro
new-file = Novo ficheiro
new-window = Nova xanela
open-file = Abrir ficheiro…
open-recent-file = Abrir ficheiro recente
close-file = Pechar ficheiro
menu-open-project = Abrir proxecto…
open-recent-project = Abrir proxecto recente
close-project = Pechar proxecto
save-as = Gardar como…
revert-all-changes = Desvotar todos os cambios
menu-document-statistics = Estatísticas do documento...
document-type = Tipo de documento…
encoding = Codificación...
menu-git-management = Xestión de Git...
print = Imprimir
quit = Pechar
edit = Editar
undo = Desfacer
redo = Refacer
cut = Cortar
copy = Copiar
paste = Pegar
select-all = Seleccionar todo
find = Atopar
find-in-project = Atopar en proxecto…
spell-check = Corrección ortográfica...
view = Ver
zoom-in = Aumentar Zoom
default-size = Tamaño por defecto
zoom-out = Afastar Zoom
indentation = Sangría
automatic-indentation = Sangría automatica
tab-width = Largura da tabulación:{ $tab_width }
convert-indentation-to-spaces = Converter a sangria en espazos
convert-indentation-to-tabs = Converter a sangría en tabulacións
word-wrap = Axuste de liña
show-line-numbers = Amosar o numero de liñas
highlight-current-line = Subrayar a liña actual
syntax-highlighting = Realce da sintaxe...
menu-settings = Axustes...
menu-keyboard-shortcuts = Atallos de teclado…
menu-about = Sobre Editor de Texto COSMIC…

View file

@ -1,7 +1,7 @@
cosmic-text-editor = कॉस्मिक टेक्स्ट एडिटर
new-document = नया दस्तावेज़
open-project = प्रोजेक्ट खोलें
todo = करने के लिए
todo = कार्य-सूची
# Context Pages
@ -13,41 +13,41 @@ todo = करने के लिए
document-statistics = दस्तावेज़ आँकड़े
word-count = शब्दों की संख्या
character-count = अक्षरों की संख्या
character-count-no-spaces = अक्षरों की संख्या (स्पेस के बिना)
character-count = अक्षर
character-count-no-spaces = अक्षर (बिना स्थान के)
line-count = पंक्तियाँ
## Git management
git-management = Git प्रबंधन
git-management-description = Git प्रबंधन एक डेवलपर टूल है जो संस्करण नियंत्रण कार्यों के लिए उपयोग किया जाता है।
git-management-loading = Git प्रबंधन लोड हो रहा है...
stage = स्टेज
staged-changes = स्टेज पर बदली गई चीज़ें
unstage = स्टेज से हटाएँ
unstaged-changes = बिना स्टेज की गई चीज़ें
git-management = गिट प्रबंधन
git-management-description = गिट प्रबंधन एक डेवलपर उपकरण है जिसका उपयोग संस्करण नियंत्रण संचालन के लिए किया जाता है।
git-management-loading = गिट प्रबंधन लोड हो रहा है..।
stage = स्टेज करें
staged-changes = स्टेज किए गए बदलाव
unstage = अनस्टेज करें
unstaged-changes = अनस्टेज किए गए बदलाव
## Project search
project-search = प्रोजेक्ट खोज
project-search = परियोजना खोज
## Prompt save changes
prompt-save-changes-title = बिना सहेजे हुए बदलाव
prompt-unsaved-changes = आपके पास बिना सहेजे हुए बदलाव हैं। सहेजना है?
cancel = रद्द करो
discard = बदलाव को खारिज करें
save-all = सब कुछ सहेजें
prompt-save-changes-title = बंद करने से पहले बदलाव सहेजें?
prompt-unsaved-changes = आपके पास अनसहेजे बदलाव हैं। यदि आप बिना सहेजे जारी रखते हैं, तो ये बदलाव नष्ट हो जाएँगे।
cancel = रद्द करें
discard = बदलावों को खारिज करें
save-all = सभी सहेजें
## Settings
settings = सेटिंग
settings = सेटिंग्स
### Appearance
appearance = दिखावट
theme = थीम
match-desktop = डेस्कटॉप से मेल करें
appearance = रुप-रंग
theme = प्रसंग
match-desktop = डेस्कटॉप से मेल खाएँ
dark = डार्क
light = लाइट
syntax-dark = सिंटैक्स डार्क
@ -60,14 +60,14 @@ default-font-size = डिफ़ॉल्ट फ़ॉन्ट आकार
keyboard-shortcuts = कीबोर्ड शॉर्टकट्स
enable-vim-bindings = Vim बाइंडिंग्स सक्षम करें
# Find
find-placeholder = खोजें...
find-placeholder = खोजें..।
find-previous = पिछला खोजें
find-next = अगला खोजें
replace-placeholder = बदलें...
replace-placeholder = बदलें..।
replace = बदलें
replace-all = सब कुछ बदलें
case-sensitive = केस-सेंसिटिव
use-regex = Regex का उपयोग करें
case-sensitive = अक्षर संवेदनशील
use-regex = रिगैक्स का उपयोग करें
# Menu
@ -77,34 +77,34 @@ use-regex = Regex का उपयोग करें
file = फ़ाइल
new-file = नई फ़ाइल
new-window = नई विंडो
open-file = फ़ाइल खोलें...
open-file = फ़ाइल खोलें..।
open-recent-file = हाल की फ़ाइल खोलें
close-file = फ़ाइल बंद करें
menu-open-project = प्रोजेक्ट खोलें...
open-recent-project = हाल का प्रोजेक्ट खोलें
close-project = प्रोजेक्ट बंद करें
menu-open-project = परियोजना खोलें..।
open-recent-project = हालिया परियोजना खोलें
close-project = परियोजना बंद करें
save = सहेजें
save-as = इस रूप में सहेजें...
save-as = इस रूप में सहेजें..।
revert-all-changes = सभी बदलावों को पलटें
menu-document-statistics = दस्तावेज़ आँकड़े...
document-type = दस्तावेज़ प्रकार...
encoding = एन्कोडिंग...
menu-git-management = Git प्रबंधन...
print = प्रिंट करें
quit = बंद करें
menu-document-statistics = दस्तावेज़ आँकड़े..।
document-type = दस्तावेज़ प्रकार..।
encoding = एनकोडिंग..।
menu-git-management = गिट प्रबंधन..।
print = छापें
quit = बाहर जाएँ
## Edit
edit = संपादित करें
edit = संपादन
undo = पूर्ववत करें
redo = फिर से करें
cut = काटें
copy = कॉपी करें
paste = पेस्ट करें
select-all = सब कुछ चुनें
paste = चिपकाएँ
select-all = सभी चुनें
find = खोजें
find-in-project = प्रोजेक्ट में खोजें...
spell-check = वर्तनी की जांच...
find-in-project = परियोजना में खोजें..।
spell-check = वर्तनी जाँच..।
## View
@ -116,13 +116,19 @@ indentation = इंडेंटेशन
automatic-indentation = स्वचालित इंडेंटेशन
tab-width = टैब चौड़ाई: { $tab_width }
convert-indentation-to-spaces = इंडेंटेशन को स्पेस में बदलें
convert-indentation-to-tabs = इंडेंटेशन को टैब्स में बदलें
word-wrap = वर्ड रैप
convert-indentation-to-tabs = इंडेंटेशन को टैब में बदलें
word-wrap = शब्द लपेटन
show-line-numbers = पंक्ति संख्या दिखाएँ
highlight-current-line = वर्तमान पंक्ति को हाइलाइट करें
syntax-highlighting = सिंटैक्स हाइलाइटिंग...
menu-settings = सेटिंग्स...
menu-keyboard-shortcuts = कीबोर्ड शॉर्टकट्स...
menu-about = कॉस्मिक टेक्स्ट एडिटर के बारे में...
syntax-highlighting = सिंटैक्स हाइलाइटिंग..।
menu-settings = सेटिंग्स..।
menu-keyboard-shortcuts = कीबोर्ड शॉर्टकट्स..।
menu-about = कॉस्मिक टेक्स्ट एडिटर के बारे में..।
repository = रिपॉजिटरी
support = सहायता
support = समर्थन
comment = कॉस्मिक डेस्कटॉप के लिए टेक्स्ट एडिटर
default-zoom-step = ज़ूम चरण
wrap-around = लपेटें
zoom-in = बड़ा करें
default-size = मूल आकार
zoom-out = छोटा करें

View file

@ -18,7 +18,7 @@ appearance = Tampilan
git-management = Pengelolaan Git
theme = Tema
git-management-description = Pengelolaan Git adalah alat pengembang yang digunakan untuk operasi pengendalian versi.
match-desktop = Cocokkan desktop
match-desktop = Cocok desktop
menu-settings = Pengaturan...
git-management-loading = Memuat pengelolaan Git...
staged-changes = Perubahan yang bertahap

View file

@ -1,8 +1,8 @@
cosmic-text-editor = COSMIC Text Editor
comment = Editor di testo di COSMIC
cosmic-text-editor = Editor di testo COSMIC
comment = Editor di testo per il desktop COSMIC
new-document = Nuovo documento
open-project = Apri progetto
todo = TODO
todo = A fare
# Context Pages
@ -15,15 +15,15 @@ support = Supporto
## Document statistics
document-statistics = Statistiche documento
word-count = Conteggio parole
word-count = Conteggio delle parole
character-count = Caratteri
character-count-no-spaces = Caratteri (senza spazi)
line-count = Righe
line-count = Linee
## Git management
git-management = Gestione Git
git-management-description = Gestione Git è uno strumento per sviluppatori, usato per le operazioni di controllo versione.
git-management-description = Gestione Git è uno strumento per sviluppatori, usato per le operazioni di controllo di versione.
git-management-loading = Caricamento Gestione Git...
stage = Prepara modifiche
staged-changes = Modifiche preparate
@ -35,8 +35,8 @@ project-search = Ricerca nel progetto
## Prompt save changes
prompt-save-changes-title = Modifiche non salvate
prompt-unsaved-changes = Hai delle modifiche non salvate. Vuoi salvarle?
prompt-save-changes-title = Salvare le modifiche prima di chiudere?
prompt-unsaved-changes = Sono presenti modifiche non salvate. Se continui senza salvare, queste modifiche andranno perse.
cancel = Annulla
discard = Ignora modifiche
save-all = Salva tutto
@ -49,7 +49,7 @@ settings = Impostazioni
appearance = Aspetto
theme = Tema
match-desktop = Sistema
match-desktop = Abbina al desktop
dark = Scuro
light = Chiaro
syntax-dark = Sintassi scura
@ -89,8 +89,8 @@ close-project = Chiudi progetto
save = Salva
save-as = Salva come...
revert-all-changes = Annulla tutte le modifiche
menu-document-statistics = Statistiche documento...
document-type = Tipo documento...
menu-document-statistics = Statistiche di documento...
document-type = Tipo di documento...
encoding = Codifica...
menu-git-management = Gestione Git...
print = Stampa

View file

@ -5,11 +5,11 @@ replace = Алмастыру
repository = Репозиторий
support = Қолдау
settings = Баптаулар
appearance = Сыртқы түрі
theme = Тақырып
match-desktop = Жұмыс үстеліне сәйкес келу
dark = Қараңғы
light = Жарық
appearance = Сыртқы көрініс
theme = Тема
match-desktop = Жұмыс үстеліне сәйкес болу
dark = Қою
light = Ашық
file = Файл
new-window = Жаңа терезе
quit = Шығу

View file

@ -0,0 +1,91 @@
save = Tomar bike
cancel = Têk bibe
undo = Vegerîne
cosmic-text-editor = Edîtorê nivîsê ya COSMIC
stage = Ast
settings = Sazkarî
appearance = Xuyang
theme = Rûkar
dark = Tarî
light = Ronî
support = Piştgirî
quit = Biqedîne
find-placeholder = Bibîne...
copy = Jê bigire
paste = Pêve bike
match-desktop = Bi sermaseyê re li hev bîne
select-all = Hemûyan hilbijêre
zoom-in = Nêzîk bike
default-size = Mezinahiya berdest
zoom-out = Dûr bike
file = Pel
default-zoom-step = Gavên nêzîkbûnê
keyboard-shortcuts = Kurteriyên kilîtdankê
menu-keyboard-shortcuts = Kurteriyên kilîtdankê...
find-previous = Yê paş bibîne
find-next = Yê pêş bibîne
new-window = Çarçoveya nû
edit = Biguhêrîne
view = Dîtin
menu-settings = Sazkarî...
close-file = Pelê bigire
cut = Jê bike
new-document = Pelbenda nû
open-project = Projeyê veke
line-count = Rêz
repository = Embar
print = Çap bike
replace = Biguhêrîne
find = Bibîne
comment = Edîtorê nivîsê ji bo sermaseya COSMIC
todo = Erk
document-statistics = Amarên pelbendê
word-count = Jimara peyvan
character-count = Tîp
character-count-no-spaces = Tîp (bê valahî)
git-management = Rêveberiya Gitê
git-management-description = Rêveberiya Gitê amûreke pêşvebiran e ku ji bo pêvajoyên kontrolkirina guhertoyan tê bikaranîn.
git-management-loading = Rêveberiya Gitê tê barkirin...
staged-changes = Guhertinên amedekirî
unstage = Ji amedekariyê derxîne
unstaged-changes = Guhertinên ne amedekirî
project-search = Lêgerîna projeyê
prompt-save-changes-title = Berî girtinê guhertinan tomar bike?
prompt-unsaved-changes = Guhertinên te yên netomarkirî hene. Ku tu bê tomarkirinê bidomînî, ev guhertin wê winda bibin.
discard = Guhertinan paşguh bike
save-all = Hemûyan tomar bike
syntax-dark = Syntaxa tarî
syntax-light = Rêzamana ronî
default-font = Cûrenivîsa berdest
default-font-size = Mezinahiya cûrenivîsê ya berdest
enable-vim-bindings = Girêdanên Vim çalak bike
replace-placeholder = Biguhêrîne...
replace-all = Hemûyan biguhêrîne
case-sensitive = Hestiyar e li hember tîpên mezin/biçûk
use-regex = Regexê bi kar bîne
wrap-around = Pêçana dorhêlê
new-file = Pela nû
open-file = Pelê veke...
open-recent-file = Pelê dawî veke
menu-open-project = Projeyê veke...
open-recent-project = Projeya dawî veke
close-project = Projeyê bigire
save-as = Tomar bike wekî...
revert-all-changes = Hemû guhertinan vegerîne
menu-document-statistics = Amarên pelbendê...
document-type = Cûreyê pelbendê...
encoding = Tê kodkirin...
menu-git-management = Rêveberiya Gitê...
redo = Dûbare bike
find-in-project = Di projeyê de bibîne...
spell-check = Kontrola rastnivîsê...
indentation = Valahiya destpêkê
automatic-indentation = Valahiya destpêkê ya xweber
tab-width = Ferehiya rûgerê: { $tab_width }
convert-indentation-to-spaces = Indentationê vegerîne valahiyan
convert-indentation-to-tabs = Valahiya destpêkê biguhêrîne bo rûgeran
word-wrap = Pêçana peyvan
show-line-numbers = Jimarên rêzan nîşan bide
highlight-current-line = Rêza heyî ronî bike
syntax-highlighting = Ronîkirina syntaxê...
menu-about = Di derbarê edîtorê nivîsê ya COSMIC de...

View file

@ -14,7 +14,7 @@ line-count = Eilučių skaičius
## Settings
settings = Nuostatos
settings = Nuostatai
## Appearance
@ -45,7 +45,7 @@ menu-document-statistics = Apie dokumentą...
document-type = Dokumento tipas...
encoding = Koduotė...
print = Spausdinti
quit = Išeiti
quit = Išjungti
## Edit
@ -74,7 +74,7 @@ word-wrap = Žodžių kėlimas
show-line-numbers = Rodyti eilučių numerius
highlight-current-line = Paryškinti dabartinę eilutę
syntax-highlighting = Sintaksės tikrinimas...
menu-settings = Nuostatos...
menu-settings = Nuostatai...
menu-keyboard-shortcuts = Spartieji klavišai...
menu-about = Apie COSMIC Rašyklę...
cancel = Atšaukti

View file

@ -1 +1,8 @@
settings = Paramètres
appearance = Aparéncia
theme = Tèma
match-desktop = Assortir al burèu
dark = Fosc
light = Clar
file = Fichièr
close-file = Tampar lo fichièr

View file

@ -3,11 +3,11 @@ support = ਸਹਿਯੋਗ
settings = ਸੈਟਿੰਗਾਂ
appearance = ਦਿੱਖ
theme = ਥੀਮ
match-desktop = ਡੈਸਕਟਾਪ ਨਾਲ ਮਿਲਦਾ
match-desktop = ਡੈਸਕਟਾਪ ਨਾਲ ਮਿਲਾਓ
dark = ਗੂੜ੍ਹਾ
light = ਹਲਕਾ
light = ਫਿੱਕਾ
default-zoom-step = ਜ਼ੂਮ ਸਟੈਪ
quit = ਬਾਹਰ
quit = ਸਮਾਪਤ
edit = ਸੋਧੋ
copy = ਕਾਪੀ ਕਰੋ
paste = ਚੇਪੋ

View file

@ -95,7 +95,7 @@ document-type = Typ dokumentu…
encoding = Kodowanie…
menu-git-management = Zarządzanie git…
print = Drukuj
quit = Zamknij
quit = Zakończ
## Edit

View file

@ -94,7 +94,7 @@ document-type = Tipo de documento...
encoding = Codificação...
menu-git-management = Gerenciamento do Git...
print = Imprimir
quit = Sair
quit = Encerrar
## Edit

View file

@ -94,7 +94,7 @@ document-type = Тип документа...
encoding = Кодировка...
menu-git-management = Управление Git...
print = Печать
quit = Выйти
quit = Завершить
## Edit

2
i18n/sat/cosmic_edit.ftl Normal file
View file

@ -0,0 +1,2 @@
cancel = ᱵᱟᱹᱛᱤᱞ
save = ᱥᱟᱧᱪᱟᱣ

View file

@ -119,7 +119,7 @@ word-wrap = Radbrytning
show-line-numbers = Visa radnummer
highlight-current-line = Markera aktuell rad
syntax-highlighting = Syntaxmarkering...
menu-settings = Inställningar…
menu-settings = Inställningar...
menu-keyboard-shortcuts = Tangentbordsgenvägar...
menu-about = Om COSMIC Textredigerare…
cosmic-text-editor = COSMIC Textredigerare

View file

@ -90,7 +90,7 @@ document-type = Тип документа...
encoding = Кодування...
menu-git-management = Керування Git...
print = Друкувати
quit = Вийти
quit = Завершити
## Edit

View file

@ -1,5 +1,5 @@
cosmic-text-editor = COSMIC 文字編輯器
new-document = 新建文件
new-document = 新文件
open-project = 開啟專案
todo = 待辦事項
@ -71,8 +71,8 @@ use-regex = 使用正規表示式
## File
file = 檔案
new-file = 新建檔案
new-window = 新建視窗
new-file = 新增檔案
new-window = 新增視窗
open-file = 開啟檔案...
open-recent-file = 開啟最近使用的檔案
close-file = 關閉檔案
@ -87,7 +87,7 @@ document-type = 文件類型...
encoding = 編碼...
menu-git-management = Git 管理...
print = 列印
quit = 退出
quit = 結束
## Edit
@ -124,7 +124,7 @@ stage = 暫存
unstage = 取消暫存
cancel = 取消
save-all = 全部儲存
repository = 軟體庫源
repository = 軟體庫
support = 支援
default-zoom-step = 縮放步進
zoom-in = 放大

View file

@ -121,6 +121,7 @@ pub fn context_menu<'a>(
entity: segmented_button::Entity,
) -> Element<'a, Message> {
fn key_style(theme: &cosmic::Theme) -> TextStyle {
// TODO use wayland popups
let mut color = theme.cosmic().background(false).component.on;
color.alpha *= 0.75;
TextStyle {
@ -147,15 +148,17 @@ pub fn context_menu<'a>(
.on_press(Message::TabContextAction(entity, menu_action))
};
widget::container(column!(
menu_item(fl!("undo"), Action::Undo),
menu_item(fl!("redo"), Action::Redo),
divider::horizontal::light(),
menu_item(fl!("cut"), Action::Cut),
menu_item(fl!("copy"), Action::Copy),
menu_item(fl!("paste"), Action::Paste),
menu_item(fl!("select-all"), Action::SelectAll),
))
widget::container(
cosmic::widget::menu::menu_column::MenuColumn::with_children([
menu_item(fl!("undo"), Action::Undo).into(),
menu_item(fl!("redo"), Action::Redo).into(),
divider::horizontal::light().into(),
menu_item(fl!("cut"), Action::Cut).into(),
menu_item(fl!("copy"), Action::Copy).into(),
menu_item(fl!("paste"), Action::Paste).into(),
menu_item(fl!("select-all"), Action::SelectAll).into(),
]),
)
.padding(1)
//TODO: move style to libcosmic
.style(|theme| {

View file

@ -825,7 +825,7 @@ where
let scrollbar_color = if pressed {
// pressed_state_color, 0.5
cosmic_theme
.background(false)
.background(theme.transparent)
.component
.pressed
.without_alpha()
@ -834,7 +834,7 @@ where
} else if hover {
// hover_state_color, 0.2
cosmic_theme
.background(false)
.background(theme.transparent)
.component
.hover
.without_alpha()
@ -921,7 +921,7 @@ where
let scrollbar_color = if pressed {
// pressed_state_color, 0.5
cosmic_theme
.background(false)
.background(theme.transparent)
.component
.pressed
.without_alpha()
@ -930,7 +930,7 @@ where
} else if hover {
// hover_state_color, 0.2
cosmic_theme
.background(false)
.background(theme.transparent)
.component
.hover
.without_alpha()
@ -1089,11 +1089,13 @@ where
Named::Backspace => {
delete_modifiers(&mut editor, Motion::LeftWord, *modifiers);
editor.action(Action::Backspace);
editor.set_redraw(true);
shell.capture_event();
}
Named::Delete => {
delete_modifiers(&mut editor, Motion::RightWord, *modifiers);
editor.action(Action::Delete);
editor.set_redraw(true);
shell.capture_event();
}
Named::Tab => {
@ -1412,6 +1414,10 @@ where
shell.publish(on_changed.clone());
}
}
if editor.redraw() {
shell.request_redraw();
}
}
}