added multilang and settings

This commit is contained in:
2026-08-08 21:48:16 +05:00
parent 3d614255d8
commit d146fd442a
18 changed files with 1115 additions and 72 deletions
@@ -1,12 +1,18 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CursorLang.Models;
namespace CursorLang.ViewModels;
/// <summary>
/// Содержимое подсказки у курсора.
/// Содержимое подсказки у курсора. Внешний вид берётся прямо из настроек,
/// поэтому их правка применяется без перезапуска.
/// </summary>
public sealed partial class LayoutPopupViewModel : ObservableObject
{
[ObservableProperty]
private string _shortName = "—";
public LayoutPopupViewModel(AppSettings settings) => Settings = settings;
public AppSettings Settings { get; }
}