mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
L10N for UWP app.
This commit is contained in:
parent
562f4781c5
commit
e5edd22208
10 changed files with 421 additions and 59 deletions
|
@ -26,6 +26,16 @@ private:
|
|||
bool mIsDefault;
|
||||
};
|
||||
|
||||
struct L10NStrings {
|
||||
hstring ContextMenuTitle;
|
||||
hstring PromptTitle;
|
||||
hstring PromptOk;
|
||||
hstring PromptCancel;
|
||||
hstring PromptYes;
|
||||
hstring PromptNo;
|
||||
hstring URINotValid;
|
||||
};
|
||||
|
||||
struct ServoControl : ServoControlT<ServoControl>, public servo::ServoDelegate {
|
||||
|
||||
ServoControl();
|
||||
|
@ -266,8 +276,8 @@ private:
|
|||
CONDITION_VARIABLE mGLCondVar;
|
||||
std::unique_ptr<Concurrency::task<void>> mLoopTask;
|
||||
hstring mArgs;
|
||||
|
||||
std::optional<servo::Servo::MouseButton> mPressedMouseButton = {};
|
||||
std::unique_ptr<L10NStrings> mL10NStrings = nullptr;
|
||||
};
|
||||
} // namespace winrt::ServoApp::implementation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue