diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-24 13:55:19 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-03 13:26:11 +0900 |
| commit | fbc41d795b8251180e09d003171f346487e7ab25 (patch) | |
| tree | 6199fae0522a9d4c22a917de9b0b00d31ac4faa4 /src/exporters | |
| parent | 9a622918b2f64e81006356124a045ba99cc3765d (diff) | |
| download | krecipes-fbc41d79.tar.gz krecipes-fbc41d79.zip | |
Fix importers/exporters bugs. Fix tests and add them to build process.
The file `mx2test.txt` is taken from KRecipes 2.1 source code.
Other tests have been adjusted based on the tests in KRecipes 2.1 source code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit dfbafdbb2f7369438a750327544f9084a765e407)
Diffstat (limited to 'src/exporters')
| -rw-r--r-- | src/exporters/rezkonvexporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exporters/rezkonvexporter.cpp b/src/exporters/rezkonvexporter.cpp index b286b65..a6cae19 100644 --- a/src/exporters/rezkonvexporter.cpp +++ b/src/exporters/rezkonvexporter.cpp @@ -200,7 +200,7 @@ void RezkonvExporter::writeIngredients( TQString &content, const Recipe &recipe TQString authorLines; if ( recipe.authorList.count() > 0 ) { - content += "============================== TQUELLE ==============================\n"; + content += "============================== QUELLE ==============================\n"; authorLines = " "+(*recipe.authorList.begin()).name+"\n"; } for ( ElementList::const_iterator author_it = ++recipe.authorList.begin(); author_it != recipe.authorList.end(); ++author_it ) { @@ -266,7 +266,7 @@ void RezkonvExporter::writeSingleIngredient( TQString &content, const Ingredient //columns 21-70 TQString ing_name( ing.name ); if ( ing.prepMethodList.count() > 0 ) - ing_name += "; " + ing.prepMethodList.join(", "); + ing_name += ", " + ing.prepMethodList.join(", "); if ( is_sub ) ing_name += ", or"; //FIXME: what's 'or' in German? |
