After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793460 - gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp:1941 is impossible to translate
gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp:1941 is impossib...
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Import - CSV
2.7.x
Other All
: Normal normal
: ---
Assigned To: gnucash-import-maint
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2018-02-14 17:36 UTC by Frank H. Ellenberger
Modified: 2018-06-30 00:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frank H. Ellenberger 2018-02-14 17:36:37 UTC
gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp:1940-2:
    auto text = std::string("<span size=\"medium\"><b>");
    text += _("The transactions were imported from the file '") + m_file_name + "'.";
    text += "</b></span>";

The break in 3 lines, avoiding markups in translatable strings, is very nice. This technic should be applied on other places, too.

But the center line is almost untranslatable. In de we would use the following ordering of words: _("The transactions were from the file '") + m_file_name + "' imported."
So the expression should become something like 
formatstr(_("The transactions were imported from the file '%s'."), m_file_name)
Then our msgstr could be "Die Buchungen wurden aus der Datei »%s« importiert."
Comment 2 John Ralls 2018-06-30 00:04:28 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=793460. Please update any external references or bookmarks.