L10N for UWP app.

This commit is contained in:
Paul Rouget 2020-06-08 12:35:52 +02:00
parent 562f4781c5
commit e5edd22208
10 changed files with 421 additions and 59 deletions

View file

@ -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