Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Merge PR #3868: feat(ui): nest light and dark themes into submenus

aiongg9af659d2f220
diff --cc crates/ui-egui/src/i18n/cs.tsv
index b50bc21a3,b756f1781..5a6f76f48
--- a/crates/ui-egui/src/i18n/cs.tsv
+++ b/crates/ui-egui/src/i18n/cs.tsv
@@@ -3904,10 -3856,8 +3904,15 @@@ navigator Zoom Zvětšen�
# DDS Options (#1327)
DDS Options Možnosti DDS
Generate Mipmaps Generovat mipmapy
+
+# Color Table (.act) dialog
+ There is no color table to save. Neexistuje žádná tabulka barev k uložení.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Uložena {n} barva do {file}|Uloženy {n} barvy do {file}|Uloženo {n} barev do {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Adaptér GPU
+ Pro Medium Gray Pro (středně šedý)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (světle šedý)
+ Pro Light Pro (světlý)
diff --cc crates/ui-egui/src/i18n/de.tsv
index b75430b39,21d2251ea..07100d106
--- a/crates/ui-egui/src/i18n/de.tsv
+++ b/crates/ui-egui/src/i18n/de.tsv
@@@ -3302,10 -3250,8 +3302,15 @@@ curves Smooth Glätte
DDS Options DDS-Optionen
Compression Komprimierung
Generate Mipmaps Mipmaps erzeugen
+
+# Color Table (.act) dialog
+ There is no color table to save. Es gibt keine Farbtabelle zum Speichern.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} Farbe in {file} gespeichert|{n} Farben in {file} gespeichert
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU-Adapter
+ Pro Medium Gray Pro (Mittelgrau)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (Hellgrau)
+ Pro Light Pro (Hell)
diff --cc crates/ui-egui/src/i18n/el.tsv
index 8ffd2f726,52f1a9183..650eba741
--- a/crates/ui-egui/src/i18n/el.tsv
+++ b/crates/ui-egui/src/i18n/el.tsv
@@@ -3993,10 -3948,8 +3993,15 @@@ curves Smooth Εξομάλυνσ�
# DDS Options (#1327)
DDS Options Επιλογές DDS
Generate Mipmaps Δημιουργία mipmap
+
+# Color Table (.act) dialog
+ There is no color table to save. Δεν υπάρχει πίνακας χρωμάτων για αποθήκευση.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Αποθηκεύτηκε {n} χρώμα στο {file}|Αποθηκεύτηκαν {n} χρώματα στο {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Προσαρμογέας GPU
+ Pro Medium Gray Pro μεσαίου γκρι
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro ανοιχτού γκρι
+ Pro Light Φωτεινό Pro
diff --cc crates/ui-egui/src/i18n/es.tsv
index b78da1de9,4ae0ac29d..6a2796bd4
--- a/crates/ui-egui/src/i18n/es.tsv
+++ b/crates/ui-egui/src/i18n/es.tsv
@@@ -4255,10 -4210,8 +4255,15 @@@ navigator Zoom Zoo
# DDS Options (#1327)
DDS Options Opciones de DDS
Generate Mipmaps Generar mipmaps
+
+# Color Table (.act) dialog
+ There is no color table to save. No hay ninguna tabla de colores para guardar.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Se guardó {n} color en {file}|Se guardaron {n} colores en {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Adaptador de GPU
+ Pro Medium Gray Pro (gris medio)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (gris claro)
+ Pro Light Pro (claro)
diff --cc crates/ui-egui/src/i18n/fr.tsv
index 2e064bfef,23959f1ad..e4649658d
--- a/crates/ui-egui/src/i18n/fr.tsv
+++ b/crates/ui-egui/src/i18n/fr.tsv
@@@ -3304,10 -3257,8 +3304,15 @@@ curves Smooth Lisse
DDS Options Options DDS
Compression Compression
Generate Mipmaps Générer les mipmaps
+
+# Color Table (.act) dialog
+ There is no color table to save. Il n’y a aucune table de couleurs à enregistrer.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} couleur enregistrée dans {file}|{n} couleurs enregistrées dans {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Adaptateur GPU
+ Pro Medium Gray Pro gris moyen
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro gris clair
+ Pro Light Pro clair
diff --cc crates/ui-egui/src/i18n/hu.tsv
index 2757dc955,966bd2545..ef578cb97
--- a/crates/ui-egui/src/i18n/hu.tsv
+++ b/crates/ui-egui/src/i18n/hu.tsv
@@@ -4210,10 -4167,8 +4210,15 @@@ cameraRaw Yellow Sárg
# DDS Options (#1327)
DDS Options DDS-beállítások
Generate Mipmaps Mipmapek létrehozása
+
+# Color Table (.act) dialog
+ There is no color table to save. Nincs menthető színtábla.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} szín mentve ide: {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU-adapter
+ Pro Medium Gray Pro középszürke
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro világosszürke
+ Pro Light Pro világos
diff --cc crates/ui-egui/src/i18n/id.tsv
index e27399ed9,f208b14fc..3d77ffbd1
--- a/crates/ui-egui/src/i18n/id.tsv
+++ b/crates/ui-egui/src/i18n/id.tsv
@@@ -3291,10 -3244,8 +3291,15 @@@ curves Smooth Haluska
DDS Options Opsi DDS
Compression Kompresi
Generate Mipmaps Buat mipmap
+
+# Color Table (.act) dialog
+ There is no color table to save. Tidak ada tabel warna untuk disimpan.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} warna disimpan ke {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Adaptor GPU
+ Pro Medium Gray Pro Abu-abu Sedang
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro Abu-abu Terang
+ Pro Light Pro Terang
diff --cc crates/ui-egui/src/i18n/it.tsv
index 62246c49d,fc006b2ad..db02c1a20
--- a/crates/ui-egui/src/i18n/it.tsv
+++ b/crates/ui-egui/src/i18n/it.tsv
@@@ -4410,10 -4365,8 +4410,15 @@@ shape Appearance Aspett
# DDS Options (#1327)
DDS Options Opzioni DDS
Generate Mipmaps Genera mipmap
+
+# Color Table (.act) dialog
+ There is no color table to save. Non c'è alcuna tabella colori da salvare.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Salvato {n} colore in {file}|Salvati {n} colori in {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Adattatore GPU
+ Pro Medium Gray Pro grigio medio
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro grigio chiaro
+ Pro Light Pro chiaro
diff --cc crates/ui-egui/src/i18n/ja.tsv
index 4a207e015,67a03fb22..afe5f3930
--- a/crates/ui-egui/src/i18n/ja.tsv
+++ b/crates/ui-egui/src/i18n/ja.tsv
@@@ -3971,10 -3926,8 +3971,15 @@@ curves Smooth スムー�
DDS Options DDS オプション
Compression 圧縮
Generate Mipmaps ミップマップを生成
+
+# Color Table (.act) dialog
+ There is no color table to save. 保存するカラーテーブルがありません。
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {file} に {n} 色を保存しました
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU アダプター
+ Pro Medium Gray プロ(中間グレー)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray プロ(ライトグレー)
+ Pro Light プロ(ライト)
diff --cc crates/ui-egui/src/i18n/ko.tsv
index d1decbfeb,de63bef8e..1877bdc44
--- a/crates/ui-egui/src/i18n/ko.tsv
+++ b/crates/ui-egui/src/i18n/ko.tsv
@@@ -3484,10 -3431,8 +3484,15 @@@ curves Smooth 매끄럽�
DDS Options DDS 옵션
Compression 압축
Generate Mipmaps 밉맵 생성
+
+# Color Table (.act) dialog
+ There is no color table to save. 저장할 색상표가 없습니다.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {file}에 색상 {n}개 저장
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU 어댑터
+ Pro Medium Gray 프로 중간 회색
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray 프로 밝은 회색
+ Pro Light 프로 밝게
diff --cc crates/ui-egui/src/i18n/nl.tsv
index e04ac9496,ccbd871eb..dbaa7f3dd
--- a/crates/ui-egui/src/i18n/nl.tsv
+++ b/crates/ui-egui/src/i18n/nl.tsv
@@@ -4053,10 -4008,8 +4053,15 @@@ curves Smooth Vloeiend make
# DDS Options (#1327)
DDS Options DDS-opties
Generate Mipmaps Mipmaps genereren
+
+# Color Table (.act) dialog
+ There is no color table to save. Er is geen kleurtabel om op te slaan.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} kleur opgeslagen in {file}|{n} kleuren opgeslagen in {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU-adapter
+ Pro Medium Gray Pro middelgrijs
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro lichtgrijs
+ Pro Light Pro licht
diff --cc crates/ui-egui/src/i18n/pl.tsv
index 8eee402d6,f645c7fdd..bc481f883
--- a/crates/ui-egui/src/i18n/pl.tsv
+++ b/crates/ui-egui/src/i18n/pl.tsv
@@@ -3893,10 -3848,8 +3893,15 @@@ curves Smooth Wygład�
DDS Options Opcje DDS
Compression Kompresja
Generate Mipmaps Generuj mipmapy
+
+# Color Table (.act) dialog
+ There is no color table to save. Brak tabeli kolorów do zapisania.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Zapisano {n} kolor do {file}|Zapisano {n} kolory do {file}|Zapisano {n} kolorów do {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Karta GPU
+ Pro Medium Gray Pro (średni szary)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (jasnoszary)
+ Pro Light Pro (jasny)
diff --cc crates/ui-egui/src/i18n/pt-br.tsv
index a0b981798,b76546d96..a091f9eb8
--- a/crates/ui-egui/src/i18n/pt-br.tsv
+++ b/crates/ui-egui/src/i18n/pt-br.tsv
@@@ -4083,159 -4038,8 +4083,164 @@@ layerLabel No Color Sem co
# DDS Options (#1327)
DDS Options Opções de DDS
Generate Mipmaps Gerar mipmaps
+
+# Color Table (.act) dialog
+ There is no color table to save. Não há tabela de cores para salvar.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} cor salva em {file}|{n} cores salvas em {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Adaptador de GPU
+
+# Channels panel menu: channel commands, spot channels, Quick Mask, Color Indicates
+ New Channel… Novo canal…
+ Duplicate Channel Duplicar canal
+ Delete Channel Excluir canal
+ Rename Channel… Renomear canal…
+ New Spot Channel… Novo canal de cor especial…
+ Merge Spot Channel Mesclar canal de cor especial
+ Convert to Alpha Channel Converter em canal alfa
+ Split Channels Dividir canais
+ Merge Channels… Mesclar canais…
+ Exit Quick Mask Sair da máscara rápida
+ Color Indicates Masked Areas A cor indica áreas mascaradas
+ Color Indicates Selected Areas A cor indica áreas selecionadas
+
+# Layer Style › Blending Options: advanced blending and Blend If
+ General Blending Mesclagem geral
+ Shallow Raso
+ Deep Profundo
+ Blend Interior Effects as Group Mesclar efeitos internos como grupo
+ Blend Clipped Layers as Group Mesclar camadas recortadas como grupo
+ Transparency Shapes Layer A transparência define a forma da camada
+ Layer Mask Hides Effects A máscara de camada oculta os efeitos
+ Vector Mask Hides Effects A máscara vetorial oculta os efeitos
+ This Layer: Esta camada:
+ Underlying Layer: Camada subjacente:
+
+# Canvas right-click menus: pasteboard color, paths and shapes
+ Dark Gray Cinza-escuro
+ Medium Gray Cinza médio
+ Select Custom Color… Selecionar cor personalizada…
+ Color Picker (Custom Canvas Color) Seletor de cores (Cor personalizada da tela de pintura)
+ Make Work Path… Criar demarcador de trabalho…
+ Create Vector Mask Criar máscara vetorial
+ Make Selection… Fazer seleção…
+ Fill Path… Preencher demarcador…
+ Clipping Path… Demarcador de corte…
+ Free Transform Path Transformação livre do demarcador
+ Unite Shapes at Overlap Unir formas na sobreposição
+ Subtract Shapes at Overlap Subtrair formas na sobreposição
+ Copy Fill Copiar preenchimento
+ Copy Complete Stroke Copiar traçado completo
+ Paste Fill Colar preenchimento
+ Paste Complete Stroke Colar traçado completo
+ Make Symmetry Path Criar demarcador de simetria
+ Disable Symmetry Path Desativar demarcador de simetria
+
+# Color Picker titles
+ Color Picker (Foreground Color) Seletor de cores (Cor de primeiro plano)
+ Color Picker (Background Color) Seletor de cores (Cor de fundo)
+ Pick Color From Image Escolher cor da imagem
+
+# Rasterize prompts
+ This layer must be rasterized before proceeding. Esta camada precisa ser rasterizada antes de continuar.
+ This type layer must be rasterized before proceeding. Its text will no longer be editable. Rasterize the type? Esta camada de texto precisa ser rasterizada antes de continuar. O texto não poderá mais ser editado. Rasterizar o texto?
+ This shape layer must be rasterized before proceeding. It will no longer be editable as a shape. Rasterize the shape? Esta camada de forma precisa ser rasterizada antes de continuar. Ela não poderá mais ser editada como forma. Rasterizar a forma?
+ This Smart Object must be rasterized before proceeding. Its contents will no longer be editable. Rasterize the Smart Object? Este objeto inteligente precisa ser rasterizado antes de continuar. O conteúdo não poderá mais ser editado. Rasterizar o objeto inteligente?
+ This fill layer must be rasterized before proceeding. Its fill content will no longer be editable. Rasterize the layer? Esta camada de preenchimento precisa ser rasterizada antes de continuar. O conteúdo do preenchimento não poderá mais ser editado. Rasterizar a camada?
+
+# GPU and display status (status bar, System Info)
+ Graphics adapter: {adapter} Adaptador gráfico: {adapter}
+ Backend: {backend} ({type}) Backend: {backend} ({type})
+ Driver: {driver} Driver: {driver}
+ GPU backend preference: {backend} Preferência de backend da GPU: {backend}
+ Selected at launch: {backend} Selecionado ao iniciar: {backend}
+ Image compositor: {processor} Compositor de imagens: {processor}
+ Window renderer: {renderer} Renderizador da janela: {renderer}
+ Graphics adapter Adaptador gráfico
+ Software adapter Adaptador de software
+ unknown type tipo desconhecido
+ Fallback: {reason} Modo alternativo: {reason}
+ This session: {reason} Nesta sessão: {reason}
+ Platform: {os} {arch} Plataforma: {os} {arch}
+ GPU retry scheduled Nova tentativa da GPU agendada
+ Save your work and restart PhotoCraft to retry GPU acceleration. CPU rendering remains active for this session. Salve seu trabalho e reinicie o PhotoCraft para tentar a aceleração por GPU novamente. A renderização pela CPU continua ativa nesta sessão.
+ GPU device was lost; using the CPU renderer. O dispositivo da GPU foi perdido; usando o renderizador da CPU.
+ GPU error; using the CPU renderer. Erro da GPU; usando o renderizador da CPU.
+ Monitor profile: {profile} Perfil do monitor: {profile}
+ Monitor profile in use: {profile} Perfil do monitor em uso: {profile}
+ Monitor profile in use on {display}: {profile} Perfil do monitor em uso em {display}: {profile}
+ Monitor profile on {display}: {profile} Perfil do monitor em {display}: {profile}
+ Monitor profile on {display} (main window): {profile} Perfil do monitor em {display} (janela principal): {profile}
+ Display profiles: {reason} Perfis de tela: {reason}
+ Display profile not used Perfil de tela não usado
+ previous reading kept; the last re-read failed: {reason} leitura anterior mantida; a última releitura falhou: {reason}
+ The canvas is shown as sRGB. Choose a monitor profile in Edit › Color Settings. A tela de pintura é exibida como sRGB. Escolha um perfil de monitor em Editar › Configurações de cores.
+ The canvas on {display} is shown as sRGB. Choose a monitor profile in Edit › Color Settings. A tela de pintura em {display} é exibida como sRGB. Escolha um perfil de monitor em Editar › Configurações de cores.
+
+# Status messages
+ Nothing to paste: the clipboard holds no image Nada para colar: a área de transferência não contém imagem
+ Opened {url} Aberto: {url}
+ Preferences saved Preferências salvas
+ Preferences were reset: {error} As preferências foram redefinidas: {error}
+ Couldn't save preferences: {error}. Retrying… Não foi possível salvar as preferências: {error}. Tentando novamente…
+ Preferences can't be saved Não é possível salvar as preferências
+ PhotoCraft keeps retrying; until a save succeeds, preference changes are lost when it closes. O PhotoCraft continua tentando; até que um salvamento dê certo, as alterações nas preferências serão perdidas ao fechar.
+ Invalid panel layout; restored the default dock Layout de painéis inválido; a disposição padrão dos painéis foi restaurada
+ Recovered {name} Recuperado: {name}
+ Autosave failed: {error} Falha ao salvar automaticamente: {error}
+ Exported presets to {path} Predefinições exportadas para {path}
+ Ran script {name} Script executado: {name}
+ Sent to the printer ({spooler}) Enviado para a impressora ({spooler})
+ Printed to {path} Impresso em {path}
+ Exported {path} ({size}) Exportado: {path} ({size})
+ Exported {path} Exportado: {path}
+ Saved a copy as {path} Cópia salva como {path}
+ Exported contents to {path} Conteúdo exportado para {path}
+ Saved {path}; image assets: {n} in {dir} Salvo: {path}; recursos de imagem: {n} em {dir}
+ Couldn't open {name}: {error} Não foi possível abrir {name}: {error}
+ Added swatch {name} Amostra adicionada: {name}
+ {message} (notes: {n}; {warning}) {message} (observações: {n}; {warning})
+ Step {step} ({id}) failed: {error} Falha na etapa {step} ({id}): {error}
+ Could not rename the action: {error} Não foi possível renomear a ação: {error}
+ Action playback failed: {error} Falha ao reproduzir a ação: {error}
+ Clone source set at {x}, {y} Origem da clonagem definida em {x}, {y}
+ Color management: {error} Gerenciamento de cores: {error}
+ No custom shape "{name}": pick one in the options bar or Window › Shapes Nenhuma forma personalizada “{name}”: escolha uma na barra de opções ou em Janela › Formas
+ {label} is not available: {reason} {label} não está disponível: {reason}
+ Open Recent is unavailable on the web Abrir recentes não está disponível na web
+ Importing {what} from {file}… Importando {what} de {file}…
+ brushes pincéis
+ gradients degradês
+ This adjustment ({key}) is kept as imported and can't be edited yet. Este ajuste ({key}) é mantido como foi importado e ainda não pode ser editado.
+ {shortcut} assigned. {shortcut} atribuído.
+ {shortcut} is already in use by {commands} and will be removed from it when you click OK. {shortcut} já está em uso por {commands} e será removido de lá quando você clicar em OK.
+
+# Panels and small controls
+ Grid view Visualização em grade
+ List view Visualização em lista
+ New Brush Preset Nova predefinição de pincel
+ Toggle the Brush Settings panel Alternar o painel Configurações do pincel
+ Scroll menu up Rolar o menu para cima
+ Scroll menu down Rolar o menu para baixo
+ {index} of {total} {index} de {total}
+ Data Set: {name} ({index}/{total}) Conjunto de dados: {name} ({index}/{total})
+ (none) (nenhum)
+ Apply {option}: {state} Aplicar {option}: {state}
+ on ativado
+ off desativado
+
+# Liquify tools (tooltips)
+ Forward Warp Deformação para frente
+ Twirl Clockwise Torcer no sentido horário
+ Twirl Counterclockwise Torcer no sentido anti-horário
+ Pucker Franzir
+ Bloat Inflar
+ Push Left Empurrar para a esquerda
+ Freeze Mask Congelar máscara
+ Thaw Mask Descongelar máscara
+ Pro Medium Gray Pro cinza médio
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro cinza claro
+ Pro Light Pro claro
diff --cc crates/ui-egui/src/i18n/ru.tsv
index 98881f452,3b8425cea..6aa069bb5
--- a/crates/ui-egui/src/i18n/ru.tsv
+++ b/crates/ui-egui/src/i18n/ru.tsv
@@@ -3271,10 -3223,8 +3271,15 @@@ curves Smooth Сгладит�
DDS Options Параметры DDS
Compression Сжатие
Generate Mipmaps Создать MIP-карты
+
+# Color Table (.act) dialog
+ There is no color table to save. Нет таблицы цветов для сохранения.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Сохранён {n} цвет в {file}|Сохранены {n} цвета в {file}|Сохранено {n} цветов в {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Адаптер GPU
+ Pro Medium Gray Средне-серая Pro
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Светло-серая Pro
+ Pro Light Светлая Pro
diff --cc crates/ui-egui/src/i18n/sr.tsv
index 299d40265,24f9a8ec5..47b631c65
--- a/crates/ui-egui/src/i18n/sr.tsv
+++ b/crates/ui-egui/src/i18n/sr.tsv
@@@ -4364,10 -4321,8 +4364,15 @@@ shape Appearance Izgle
# DDS Options (#1327)
DDS Options DDS opcije
Generate Mipmaps Generiši mipmape
+
+# Color Table (.act) dialog
+ There is no color table to save. Нема табеле боја за чување.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Сачувана је {n} боја у {file}|Сачуване су {n} боје у {file}|Сачувано је {n} боја у {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU adapter
+ Pro Medium Gray Pro srednje siva
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro svetlosiva
+ Pro Light Pro svetla
diff --cc crates/ui-egui/src/i18n/tr.tsv
index 05378dd89,e22ca87b2..d9b0a5bff
--- a/crates/ui-egui/src/i18n/tr.tsv
+++ b/crates/ui-egui/src/i18n/tr.tsv
@@@ -4021,10 -3978,8 +4021,15 @@@ cameraData Lens Len
# DDS Options (#1327)
DDS Options DDS Seçenekleri
Generate Mipmaps Mipmap oluştur
+
+# Color Table (.act) dialog
+ There is no color table to save. Kaydedilecek renk tablosu yok.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} renk {file} konumuna kaydedildi
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU bağdaştırıcısı
+ Pro Medium Gray Pro Orta Gri
+ Solarized Solarize
+ Breeze Esinti
+ Pro Light Gray Pro Açık Gri
+ Pro Light Profesyonel Işık
diff --cc crates/ui-egui/src/i18n/uk.tsv
index 06f765994,fd6307faf..159bcba58
--- a/crates/ui-egui/src/i18n/uk.tsv
+++ b/crates/ui-egui/src/i18n/uk.tsv
@@@ -4002,10 -3957,8 +4002,15 @@@ curves Smooth Згладит�
DDS Options Параметри DDS
Compression Стиснення
Generate Mipmaps Створити MIP-карти
+
+# Color Table (.act) dialog
+ There is no color table to save. Немає таблиці кольорів для збереження.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Збережено {n} колір у {file}|Збережено {n} кольори у {file}|Збережено {n} кольорів у {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Адаптер GPU
+ Pro Medium Gray Середньосіра «Профі»
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Світло-сіра «Профі»
+ Pro Light Світла «Профі»
diff --cc crates/ui-egui/src/i18n/vi.tsv
index e646cde7f,69ce8922f..f61d97ad7
--- a/crates/ui-egui/src/i18n/vi.tsv
+++ b/crates/ui-egui/src/i18n/vi.tsv
@@@ -3784,10 -3736,8 +3784,15 @@@ curves Smooth Làm mượ
DDS Options Tùy chọn DDS
Compression Nén
Generate Mipmaps Tạo mipmap
+
+# Color Table (.act) dialog
+ There is no color table to save. Không có bảng màu nào để lưu.
+@plural Saved {n} color to {file}|Saved {n} colors to {file} Đã lưu {n} màu vào {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter Bộ điều hợp GPU
+ Pro Medium Gray Pro xám vừa
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro xám nhạt
+ Pro Light Pro sáng
diff --cc crates/ui-egui/src/i18n/zh-hans.tsv
index 78159b62d,64d1daed1..e264ecbf1
--- a/crates/ui-egui/src/i18n/zh-hans.tsv
+++ b/crates/ui-egui/src/i18n/zh-hans.tsv
@@@ -2945,10 -2873,8 +2945,15 @@@ curves Smooth 平�
DDS Options DDS 选项
Compression 压缩
Generate Mipmaps 生成 Mipmap
+
+# Color Table (.act) dialog
+ There is no color table to save. 没有可保存的色表。
+@plural Saved {n} color to {file}|Saved {n} colors to {file} 已将 {n} 种颜色保存到 {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU 适配器
+ Pro Medium Gray 专业中灰
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray 专业浅灰
+ Pro Light 专业浅色
diff --cc crates/ui-egui/src/i18n/zh-hant.tsv
index 243510822,2bc5d3beb..a14498883
--- a/crates/ui-egui/src/i18n/zh-hant.tsv
+++ b/crates/ui-egui/src/i18n/zh-hant.tsv
@@@ -2914,10 -2858,8 +2914,15 @@@ curves Smooth 平�
DDS Options DDS 選項
Compression 壓縮
Generate Mipmaps 產生 Mipmap
+
+# Color Table (.act) dialog
+ There is no color table to save. 沒有可儲存的色表。
+@plural Saved {n} color to {file}|Saved {n} colors to {file} 已將 {n} 種顏色儲存至 {file}
+
+# Graphics Adapter preference (#1885)
+ GPU adapter GPU 介面卡
+ Pro Medium Gray 專業中灰
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray 專業淺灰
+ Pro Light 專業淺色
diff --cc crates/ui-egui/src/theme.rs
index ea4340113,0317a8be7..d637f193d
--- a/crates/ui-egui/src/theme.rs
+++ b/crates/ui-egui/src/theme.rs
@@@ -808,30 -825,8 +825,21 @@@ impl Tokens
if self.pro { Color32::from_gray(if self.dark() { 96 } else { 201 }) } else { self.accent_soft }
}
+ /// The 1 px ring round a slider knob, if the theme draws one: the Pro layouts' dark ring, and
+ /// in the light themes the dim text colour, so their white knob stands out from a pale panel
+ /// (#7927). The dark Studio-layout themes need none; Classic draws a bevelled knob instead.
+ pub fn knob_outline(&self) -> Option<Color32> {
+ if self.pro {
+ Some(Color32::from_gray(40))
+ } else if self.dark() {
+ None
+ } else {
+ Some(self.text_dim)
+ }
+ }
+
pub fn dark(&self) -> bool {
- matches!(
- self.kind,
- ThemeKind::Studio
- | ThemeKind::Pro
- | ThemeKind::ProMedium
- | ThemeKind::SolarizedDark
- | ThemeKind::AdwaitaDark
- | ThemeKind::BreezeDark
- | ThemeKind::SoftDark
- )
+ self.kind.is_dark()
}
}