@@ -2481,11 +2481,11 @@ GNEApplicationWindowHelper::stringEndsWith(const std::string& str, const std::st
24812481GNEFileDialog
24822482GNEApplicationWindowHelper::openXMLFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
24832483 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2484- return GNEFileDialog (applicationWindow, TL (" Save file as " ), GUIIcon::SAVE ,
2484+ return GNEFileDialog (applicationWindow, TL (" XML " ) ,
24852485 SUMOXMLDefinitions::XMLFileExtensions.getStrings (), openMode,
24862486 GNEFileDialog::ConfigType::NETEDIT);
24872487 } else {
2488- return GNEFileDialog (applicationWindow, TL (" Open file " ), GUIIcon::OPEN_SUMOCONFIG ,
2488+ return GNEFileDialog (applicationWindow, TL (" XML " ) ,
24892489 SUMOXMLDefinitions::XMLFileExtensions.getStrings (), openMode,
24902490 GNEFileDialog::ConfigType::NETEDIT);
24912491 }
@@ -2495,11 +2495,11 @@ GNEApplicationWindowHelper::openXMLFileDialog(GNEApplicationWindow* applicationW
24952495GNEFileDialog
24962496GNEApplicationWindowHelper::openNetworkFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
24972497 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2498- return GNEFileDialog (applicationWindow, TL (" Save Network file as " ), GUIIcon::SAVE_NETWORKELEMENTS ,
2498+ return GNEFileDialog (applicationWindow, TL (" network " ) ,
24992499 SUMOXMLDefinitions::NetFileExtensions.getStrings (), openMode,
25002500 GNEFileDialog::ConfigType::NETEDIT);
25012501 } else {
2502- return GNEFileDialog (applicationWindow, TL (" Open Network file " ), GUIIcon::OPEN_NET ,
2502+ return GNEFileDialog (applicationWindow, TL (" network " ) ,
25032503 SUMOXMLDefinitions::NetFileExtensions.getStrings (), openMode,
25042504 GNEFileDialog::ConfigType::NETEDIT);
25052505 }
@@ -2509,11 +2509,11 @@ GNEApplicationWindowHelper::openNetworkFileDialog(GNEApplicationWindow* applicat
25092509GNEFileDialog
25102510GNEApplicationWindowHelper::openNeteditConfigFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
25112511 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2512- return GNEFileDialog (applicationWindow, TL (" Save netedit Config file as " ), GUIIcon::SAVE_NETEDITCONFIG ,
2512+ return GNEFileDialog (applicationWindow, TL (" netedit config " ) ,
25132513 SUMOXMLDefinitions::NeteditConfigFileExtensions.getStrings (), openMode,
25142514 GNEFileDialog::ConfigType::NETEDIT);
25152515 } else {
2516- return GNEFileDialog (applicationWindow, TL (" Open netedit Config file " ), GUIIcon::OPEN_NETEDITCONFIG ,
2516+ return GNEFileDialog (applicationWindow, TL (" netedit config " ) ,
25172517 SUMOXMLDefinitions::NeteditConfigFileExtensions.getStrings (), openMode,
25182518 GNEFileDialog::ConfigType::NETEDIT);
25192519 }
@@ -2523,11 +2523,11 @@ GNEApplicationWindowHelper::openNeteditConfigFileDialog(GNEApplicationWindow* ap
25232523GNEFileDialog
25242524GNEApplicationWindowHelper::openSumoConfigFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
25252525 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2526- return GNEFileDialog (applicationWindow, TL (" Save SUMO Config file as " ), GUIIcon::SAVE_SUMOCONFIG ,
2526+ return GNEFileDialog (applicationWindow, TL (" sumo config " ) ,
25272527 SUMOXMLDefinitions::SumoConfigFileExtensions.getStrings (), openMode,
25282528 GNEFileDialog::ConfigType::NETEDIT);
25292529 } else {
2530- return GNEFileDialog (applicationWindow, TL (" Open SUMO Config file " ), GUIIcon::OPEN_SUMOCONFIG ,
2530+ return GNEFileDialog (applicationWindow, TL (" sumo config " ) ,
25312531 SUMOXMLDefinitions::SumoConfigFileExtensions.getStrings (), openMode,
25322532 GNEFileDialog::ConfigType::NETEDIT);
25332533 }
@@ -2537,11 +2537,11 @@ GNEApplicationWindowHelper::openSumoConfigFileDialog(GNEApplicationWindow* appli
25372537GNEFileDialog
25382538GNEApplicationWindowHelper::openTLSFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
25392539 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2540- return GNEFileDialog (applicationWindow, TL (" Save TLS file as " ), GUIIcon::SAVE_NETWORKELEMENTS ,
2540+ return GNEFileDialog (applicationWindow, TL (" Traffic Light definitions " ) ,
25412541 SUMOXMLDefinitions::TLSFileExtensions.getStrings (), openMode,
25422542 GNEFileDialog::ConfigType::NETEDIT);
25432543 } else {
2544- return GNEFileDialog (applicationWindow, TL (" Open TLS file " ), GUIIcon::OPEN_TLSPROGRAMS ,
2544+ return GNEFileDialog (applicationWindow, TL (" Traffic Light definitions " ) ,
25452545 SUMOXMLDefinitions::TLSFileExtensions.getStrings (), openMode,
25462546 GNEFileDialog::ConfigType::NETEDIT);
25472547 }
@@ -2551,11 +2551,11 @@ GNEApplicationWindowHelper::openTLSFileDialog(GNEApplicationWindow* applicationW
25512551GNEFileDialog
25522552GNEApplicationWindowHelper::openEdgeTypeFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
25532553 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2554- return GNEFileDialog (applicationWindow, TL (" Save EdgeType file as " ), GUIIcon::SAVE_NETWORKELEMENTS ,
2554+ return GNEFileDialog (applicationWindow, TL (" EdgeTypes " ) ,
25552555 SUMOXMLDefinitions::EdgeTypeFileExtensions.getStrings (), openMode,
25562556 GNEFileDialog::ConfigType::NETEDIT);
25572557 } else {
2558- return GNEFileDialog (applicationWindow, TL (" Open EdgeType file " ), GUIIcon::OPEN_NET ,
2558+ return GNEFileDialog (applicationWindow, TL (" EdgeTypes " ) ,
25592559 SUMOXMLDefinitions::EdgeTypeFileExtensions.getStrings (), openMode,
25602560 GNEFileDialog::ConfigType::NETEDIT);
25612561 }
@@ -2565,11 +2565,11 @@ GNEApplicationWindowHelper::openEdgeTypeFileDialog(GNEApplicationWindow* applica
25652565GNEFileDialog
25662566GNEApplicationWindowHelper::openAdditionalFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
25672567 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2568- return GNEFileDialog (applicationWindow, TL (" Save Additionals file as " ), GUIIcon::SAVE_ADDITIONALELEMENTS ,
2568+ return GNEFileDialog (applicationWindow, TL (" Additional elements " ) ,
25692569 SUMOXMLDefinitions::AdditionalFileExtensions.getStrings (), openMode,
25702570 GNEFileDialog::ConfigType::NETEDIT);
25712571 } else {
2572- return GNEFileDialog (applicationWindow, TL (" Open Additionals file " ), GUIIcon::MODEADDITIONAL ,
2572+ return GNEFileDialog (applicationWindow, TL (" Additional elements " ) ,
25732573 SUMOXMLDefinitions::AdditionalFileExtensions.getStrings (), openMode,
25742574 GNEFileDialog::ConfigType::NETEDIT);
25752575 }
@@ -2579,11 +2579,11 @@ GNEApplicationWindowHelper::openAdditionalFileDialog(GNEApplicationWindow* appli
25792579GNEFileDialog
25802580GNEApplicationWindowHelper::openRouteFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
25812581 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2582- return GNEFileDialog (applicationWindow, TL (" Save Route file as " ), GUIIcon::SAVE_DEMANDELEMENTS ,
2582+ return GNEFileDialog (applicationWindow, TL (" Route elements " ) ,
25832583 SUMOXMLDefinitions::RouteFileExtensions.getStrings (), openMode,
25842584 GNEFileDialog::ConfigType::NETEDIT);
25852585 } else {
2586- return GNEFileDialog (applicationWindow, TL (" Open Route file " ), GUIIcon::SUPERMODEDEMAND ,
2586+ return GNEFileDialog (applicationWindow, TL (" Route elements " ) ,
25872587 SUMOXMLDefinitions::RouteFileExtensions.getStrings (), openMode,
25882588 GNEFileDialog::ConfigType::NETEDIT);
25892589 }
@@ -2593,11 +2593,11 @@ GNEApplicationWindowHelper::openRouteFileDialog(GNEApplicationWindow* applicatio
25932593GNEFileDialog
25942594GNEApplicationWindowHelper::openDataFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
25952595 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2596- return GNEFileDialog (applicationWindow, TL (" Save Data file as " ), GUIIcon::SAVE_DATAELEMENTS ,
2596+ return GNEFileDialog (applicationWindow, TL (" Data elements " ) ,
25972597 SUMOXMLDefinitions::EdgeDataFileExtensions.getStrings (), openMode,
25982598 GNEFileDialog::ConfigType::NETEDIT);
25992599 } else {
2600- return GNEFileDialog (applicationWindow, TL (" Open Data file " ), GUIIcon::SUPERMODEDATA ,
2600+ return GNEFileDialog (applicationWindow, TL (" Data elements " ) ,
26012601 SUMOXMLDefinitions::EdgeDataFileExtensions.getStrings (), openMode,
26022602 GNEFileDialog::ConfigType::NETEDIT);
26032603 }
@@ -2607,11 +2607,11 @@ GNEApplicationWindowHelper::openDataFileDialog(GNEApplicationWindow* application
26072607GNEFileDialog
26082608GNEApplicationWindowHelper::openMeanDataDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
26092609 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2610- return GNEFileDialog (applicationWindow, TL (" Save MeanData file as " ), GUIIcon::SAVE_MEANDATAELEMENTS ,
2610+ return GNEFileDialog (applicationWindow, TL (" MeanData elements " ) ,
26112611 SUMOXMLDefinitions::MeanDataFileExtensions.getStrings (), openMode,
26122612 GNEFileDialog::ConfigType::NETEDIT);
26132613 } else {
2614- return GNEFileDialog (applicationWindow, TL (" Open MeanData file " ), GUIIcon::MODEMEANDATA ,
2614+ return GNEFileDialog (applicationWindow, TL (" MeanData elements " ) ,
26152615 SUMOXMLDefinitions::MeanDataFileExtensions.getStrings (), openMode,
26162616 GNEFileDialog::ConfigType::NETEDIT);
26172617 }
@@ -2621,11 +2621,11 @@ GNEApplicationWindowHelper::openMeanDataDialog(GNEApplicationWindow* application
26212621GNEFileDialog
26222622GNEApplicationWindowHelper::openOptionFileDialog (GNEApplicationWindow* applicationWindow, GNEFileDialog::OpenMode openMode) {
26232623 if (openMode == GNEFileDialog::OpenMode::SAVE) {
2624- return GNEFileDialog (applicationWindow, TL (" Save options file as " ), GUIIcon::SAVE ,
2624+ return GNEFileDialog (applicationWindow, TL (" options" ) ,
26252625 SUMOXMLDefinitions::XMLFileExtensions.getStrings (), openMode,
26262626 GNEFileDialog::ConfigType::NETEDIT);
26272627 } else {
2628- return GNEFileDialog (applicationWindow, TL (" Open options file " ), GUIIcon::OPEN ,
2628+ return GNEFileDialog (applicationWindow, TL (" options" ) ,
26292629 SUMOXMLDefinitions::XMLFileExtensions.getStrings (), openMode,
26302630 GNEFileDialog::ConfigType::NETEDIT);
26312631 }
0 commit comments