Skip to content

Commit

Permalink
mark strings translatable (#3962)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevu committed Mar 11, 2019
1 parent 583cd0e commit d102d70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/actions/advancement.cpp
Expand Up @@ -219,7 +219,7 @@ namespace
}
virtual std::string description() const
{
return _("an advancement choice");
return _("waiting for^an advancement choice");
}
private:
const map_location loc_;
Expand Down
2 changes: 1 addition & 1 deletion src/persist_var.cpp
Expand Up @@ -51,7 +51,7 @@ struct persist_choice: mp_sync::user_choice {

virtual std::string description() const
{
return "a global variable";
return _("waiting for^a global variable");
}
virtual bool is_visible() const { return false; }
};
Expand Down
2 changes: 1 addition & 1 deletion src/synced_user_choice.hpp
Expand Up @@ -35,7 +35,7 @@ struct user_choice
///whether the choice is visible for the user like an advancement choice
///a non-visible choice is for example get_global_variable
virtual bool is_visible() const { return true; }
virtual std::string description() const { return "input"; }
virtual std::string description() const { return _("waiting for^input"); }
};

/**
Expand Down

0 comments on commit d102d70

Please sign in to comment.