Skip to content

Commit

Permalink
Gui: Translate 'page' for new pages
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes authored and WandererFan committed Aug 12, 2023
1 parent 2536c0d commit 614c01c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Drawing/Gui/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ void CmdDrawingNewPage::activated(int iMsg)
Gui::ActionGroup* pcAction = qobject_cast<Gui::ActionGroup*>(_pcAction);
QAction* a = qAsConst(pcAction)->actions()[iMsg];

std::string FeatName = getUniqueObjectName("Page");
std::string FeatName = getUniqueObjectName(
QCoreApplication::translate("Drawing_NewPage", "Page").toStdString().c_str());

QFileInfo tfi(a->property("Template").toString());
if (tfi.isReadable()) {
Expand Down

0 comments on commit 614c01c

Please sign in to comment.