- The name is now always written in quotation marks, each language with its own: “me-web?”, «me-web?», „me-web?“, « me-web? », 「me-web?」. Without them the question mark read as the end of a sentence. In Arabic, Hebrew and the other right-to-left languages the question mark no longer jumps to the wrong side of the name. - Your addresses, your router, your network, the reverse name, the route and the code of a submission you sent now sit in a small box with a copy button, ready to paste into a message to your provider or anywhere else. - Every translation except English and Italian was rewritten for people who are not technical: everyday words first, the technical term in brackets, and one word for one thing across the whole app. They are still machine drafts; "Suggest a correction" is welcome in any language. - A few lines are plainer in English and Italian too: the test servers for calls, and the server in the middle that carries a call when two homes can't connect directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
25 lines
806 B
C#
25 lines
806 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
|
|
using MeWeb.App.Services;
|
|
using MeWeb.Core.History;
|
|
|
|
namespace MeWeb.App.ViewModels;
|
|
|
|
public partial class SubmissionViewModel(Submission submission, Func<SubmissionViewModel, Task> delete) : ObservableObject
|
|
{
|
|
public string Id => submission.Id;
|
|
public string Token => submission.Token;
|
|
public string AutomationId => $"submission-delete-{submission.Id}";
|
|
public string CopyAutomationId => $"submission-copy-{submission.Id}";
|
|
public string KeptFormatted => Localizer.Instance.Format("SubmissionKept", Texts.Date(submission.KeepUntil));
|
|
|
|
[ObservableProperty]
|
|
public partial bool Failed { get; set; }
|
|
|
|
[RelayCommand]
|
|
Task Delete() => delete(this);
|
|
|
|
public void Refresh() => OnPropertyChanged(string.Empty);
|
|
}
|