Skip to content

Commit

Permalink
music help text: replace msgid "by {}" with "Author"
Browse files Browse the repository at this point in the history
Replace "by {}" with "Author" which is already translated to many languages.
  • Loading branch information
James De Ricco committed May 10, 2024
1 parent c9aa7b5 commit b919e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/object_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ ObjectSettings::add_music(const std::string& text, std::string* value_ptr,

const std::string filename = FileSystem::basename(file_path);
const std::string title_or_filename = title.empty() ? filename : "\"" + title + "\""; // assumes path is just a filename
const std::string written_by = fmt::format(fmt::runtime(_("by {}")), author);
const std::string written_by = fmt::format(fmt::runtime(_("Author") + ": {}"), author);
const std::string license_statement = fmt::format(fmt::runtime(_("License") + ": {}"), license);

const std::string help_text =
Expand Down

0 comments on commit b919e6b

Please sign in to comment.