Skip to content

Commit

Permalink
simplify messages ref #14687
Browse files Browse the repository at this point in the history
Signed-off-by: m-kro <m.barthauer@t-online.de>
  • Loading branch information
m-kro committed Apr 15, 2024
1 parent 990bab4 commit bfe95c0
Show file tree
Hide file tree
Showing 17 changed files with 3,877 additions and 13,726 deletions.
5,521 changes: 283 additions & 5,238 deletions data/po/de_gui.po

Large diffs are not rendered by default.

496 changes: 260 additions & 236 deletions data/po/de_sumo.po

Large diffs are not rendered by default.

455 changes: 225 additions & 230 deletions data/po/es_gui.po

Large diffs are not rendered by default.

474 changes: 242 additions & 232 deletions data/po/es_sumo.po

Large diffs are not rendered by default.

450 changes: 221 additions & 229 deletions data/po/fr_gui.po

Large diffs are not rendered by default.

474 changes: 242 additions & 232 deletions data/po/fr_sumo.po

Large diffs are not rendered by default.

450 changes: 221 additions & 229 deletions data/po/hu_gui.po

Large diffs are not rendered by default.

474 changes: 242 additions & 232 deletions data/po/hu_sumo.po

Large diffs are not rendered by default.

5,505 changes: 257 additions & 5,248 deletions data/po/it_gui.po

Large diffs are not rendered by default.

474 changes: 242 additions & 232 deletions data/po/it_sumo.po

Large diffs are not rendered by default.

455 changes: 225 additions & 230 deletions data/po/tr_gui.po

Large diffs are not rendered by default.

490 changes: 257 additions & 233 deletions data/po/tr_sumo.po

Large diffs are not rendered by default.

450 changes: 221 additions & 229 deletions data/po/zh-Hant_gui.po

Large diffs are not rendered by default.

488 changes: 256 additions & 232 deletions data/po/zh-Hant_sumo.po

Large diffs are not rendered by default.

455 changes: 225 additions & 230 deletions data/po/zh_gui.po

Large diffs are not rendered by default.

488 changes: 256 additions & 232 deletions data/po/zh_sumo.po

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/netedit/GNEViewNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ GNEViewNet::restrictLane(GNELane* lane, SUMOVehicleClass vclass) {
}
// if all edges parent own a Sidewalk, stop function
if (counter == (int)mapOfEdgesAndLanes.size()) {
const std::string header = TLF("Set vclass for % to selected lanes", toString(vclass));
const std::string header = TLF("Set vclass to % for selected lanes", toString(vclass));
const std::string body = TL("All lanes own already another lane in the same edge with a restriction for ");
FXMessageBox::information(getApp(), MBOX_OK, header.c_str(), "%s", (body + toString(vclass) + ".").c_str());
return 0;
Expand Down Expand Up @@ -1169,7 +1169,7 @@ GNEViewNet::removeRestrictedLane(GNELane* lane, SUMOVehicleClass vclass) {
} else {
WRITE_DEBUG("Opening FXMessageBox 'restrict lanes'");
// Ask confirmation to user
const std::string header = TLF("Remove vclass % in selected lanes", toString(vclass));
const std::string header = TLF("Remove vclass % from selected lanes", toString(vclass));
const std::string body = TLF("% restrictions to % will be removed. Continue?", toString(setOfEdges.size() - counter), toString(vclass));
FXuint answer = FXMessageBox::question(getApp(), MBOX_YES_NO, header.c_str(), "%s", body.c_str());
if (answer != 1) { //1:yes, 2:no, 4:esc
Expand Down

0 comments on commit bfe95c0

Please sign in to comment.