Skip to content

Commit

Permalink
Review example
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Nov 30, 2023
1 parent 61d2c97 commit dbef97e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ class form1 : public form {

auto main()->int {
try {
//locale::global(locale {"ar_MA.utf-8"});
//locale::global(locale {"es_ES.utf-8"});
//locale::global(locale {"fr_FR.utf-8"});
locale::global(locale {"ru_RU.utf-8"});
} catch (const std::exception& e) {
message_box::show(ustring::format("Make sure russian locale is installed on your system :\n\n{}", e.what()), "Exception");
message_box::show(ustring::format("Make sure specified locale is installed on your system :\n\n{}", e.what()), "Exception");
return -1;
}
application::run(form1 {});
Expand Down

0 comments on commit dbef97e

Please sign in to comment.