Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package poedit for openSUSE:Factory checked in at 2023-05-17 10:53:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/poedit (Old) and /work/SRC/openSUSE:Factory/.poedit.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poedit" Wed May 17 10:53:20 2023 rev:72 rq:1087447 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/poedit/poedit.changes 2023-05-10 16:20:02.827515128 +0200 +++ /work/SRC/openSUSE:Factory/.poedit.new.1533/poedit.changes 2023-05-17 10:53:53.571593476 +0200 @@ -1,0 +2,6 @@ +Tue May 16 14:57:41 UTC 2023 - Antoine Belvire <[email protected]> + +- Poedit 3.3.1: Fixed catalog losing source language information on update + or similar manipulation. + +------------------------------------------------------------------- Old: ---- poedit-3.3.tar.gz New: ---- poedit-3.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poedit.spec ++++++ --- /var/tmp/diff_new_pack.f2geUV/_old 2023-05-17 10:53:54.003595802 +0200 +++ /var/tmp/diff_new_pack.f2geUV/_new 2023-05-17 10:53:54.007595824 +0200 @@ -20,7 +20,7 @@ %bcond_without crowdin_integration %bcond_with bundled_deps Name: poedit -Version: 3.3 +Version: 3.3.1 Release: 0 Summary: Gettext Catalog Editing Tool License: MIT ++++++ poedit-3.3.tar.gz -> poedit-3.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/NEWS new/poedit-3.3.1/NEWS --- old/poedit-3.3/NEWS 2023-05-09 19:23:11.000000000 +0200 +++ new/poedit-3.3.1/NEWS 2023-05-16 15:39:49.000000000 +0200 @@ -1,3 +1,10 @@ +Version 3.3.1 +------------- + +- Fixed catalog loosing source language information on update or similar manipulation. +- [Windows] Fix crashes related to Lucene translation memory. + + Version 3.3 ----------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/configure new/poedit-3.3.1/configure --- old/poedit-3.3/configure 2023-05-09 19:25:39.000000000 +0200 +++ new/poedit-3.3.1/configure 2023-05-16 15:41:24.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for poedit 3.3. +# Generated by GNU Autoconf 2.69 for poedit 3.3.1. # # Report bugs to <[email protected]>. # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='poedit' PACKAGE_TARNAME='poedit' -PACKAGE_VERSION='3.3' -PACKAGE_STRING='poedit 3.3' +PACKAGE_VERSION='3.3.1' +PACKAGE_STRING='poedit 3.3.1' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1366,7 +1366,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures poedit 3.3 to adapt to many kinds of systems. +\`configure' configures poedit 3.3.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1437,7 +1437,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of poedit 3.3:";; + short | recursive ) echo "Configuration of poedit 3.3.1:";; esac cat <<\_ACEOF @@ -1594,7 +1594,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -poedit configure 3.3 +poedit configure 3.3.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2001,7 +2001,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by poedit $as_me 3.3, which was +It was created by poedit $as_me 3.3.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2940,7 +2940,7 @@ # Define the identity of the package. PACKAGE='poedit' - VERSION='3.3' + VERSION='3.3.1' cat >>confdefs.h <<_ACEOF @@ -10693,7 +10693,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by poedit $as_me 3.3, which was +This file was extended by poedit $as_me 3.3.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10750,7 +10750,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -poedit config.status 3.3 +poedit config.status 3.3.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/configure.ac new/poedit-3.3.1/configure.ac --- old/poedit-3.3/configure.ac 2023-05-09 19:23:11.000000000 +0200 +++ new/poedit-3.3.1/configure.ac 2023-05-16 15:39:49.000000000 +0200 @@ -2,7 +2,7 @@ AC_PREREQ([2.61]) -AC_INIT([poedit], [3.3], [[email protected]]) +AC_INIT([poedit], [3.3.1], [[email protected]]) AC_CONFIG_AUX_DIR([admin]) AC_CONFIG_MACRO_DIR([admin]) Binary files old/poedit-3.3/locales/it.mo and new/poedit-3.3.1/locales/it.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/locales/it.po new/poedit-3.3.1/locales/it.po --- old/poedit-3.3/locales/it.po 2023-05-09 19:25:56.000000000 +0200 +++ new/poedit-3.3.1/locales/it.po 2023-05-16 15:41:39.000000000 +0200 @@ -3,7 +3,7 @@ "Project-Id-Version: poedit\n" "Report-Msgid-Bugs-To: [email protected]\n" "POT-Creation-Date: 2023-05-09 17:49+0200\n" -"PO-Revision-Date: 2023-05-09 15:48\n" +"PO-Revision-Date: 2023-05-16 10:07\n" "Last-Translator: \n" "Language-Team: Italian\n" "Language: it_IT\n" @@ -47,7 +47,7 @@ #, c-format msgid "The file â%sâ couldnât be opened." -msgstr "" +msgstr "Impossibile aprire il file \"%s\"." msgid "Invalid file" msgstr "File non valido" @@ -66,25 +66,27 @@ msgstr "File traduzione XLIFF" msgid "JSON Translation Files" -msgstr "" +msgstr "File traduzione JSON" #. TRANSLATORS: "Flutter" is proper noun, name of a developer tool msgid "Flutter Translation Files" -msgstr "" +msgstr "File traduzione Flutter" msgid "All Translation Files" msgstr "Tutti i file di traduzione" msgid "The file is in a format not recognized by Poedit." -msgstr "" +msgstr "Il file è in un formato non riconosciuto da Poedit." msgid "" "This JSON file isnât a translations file and cannot be edited in Poedit." msgstr "" +"Questo file JSON non è un file traduzioni e non può essere modificato in " +"Poedit." #, c-format msgid "Reading file content failed with the following error: %s" -msgstr "" +msgstr "La lettura del contenuto del file non è riuscita. Errore: %s" #, c-format msgid "" @@ -115,7 +117,7 @@ msgstr "File PO corrotto: forma msgstr plurale usata senza msgid_plural" msgid "Couldnât load the file, it is probably damaged." -msgstr "" +msgstr "Impossibile caricare il file, probabilmente è danneggiato." msgid "" "There were errors when loading the file. Some data may be missing or " @@ -152,11 +154,11 @@ #, c-format msgid "Error while loading XLIFF file: %s" -msgstr "" +msgstr "Errore durante il caricamento del file XLIFF: %s" #, c-format msgid "unsupported version (%s)" -msgstr "" +msgstr "versione non supportata (%s)" #. TRANSLATORS: Shown as error if a translation of XLIFF markup is not valid XML msgid "Broken markup in translation string." @@ -194,7 +196,7 @@ msgstr "Aggiungi" msgid "Unknown Crowdin error." -msgstr "" +msgstr "Errore Crowdin sconosciuto." msgid "Not authorized, please sign in again." msgstr "Non autorizzato. à necessario autenticarsi per procedere, grazie." @@ -601,17 +603,19 @@ msgstr "Revisiona" msgid "Would you like to use English for source text?" -msgstr "" +msgstr "Vuoi usare l'inglese per il testo sorgente?" #, c-format msgid "" "This file uses string IDs instead of source text. Poedit can load English " "texts from the â%sâ file for you." msgstr "" +"Questo file utilizza ID stringa invece del testo sorgente. \n" +"Poedit può caricare testi in inglese dal file â%sâ." #. TRANSLATORS: Shown as action button when asking if the user wants to replace string IDs with English text; "load" as in "load from file" msgid "Load English" -msgstr "" +msgstr "Carica inglese" #, c-format msgid "Translated: %d of %d (%d %%)" @@ -783,7 +787,7 @@ #. TRANSLATORS: Refers to symbolic ID of source text, i.e. when something like "button.label" is used instead of English text msgid "Source text ID" -msgstr "" +msgstr "ID testo sorgente" msgid "Everything" msgstr "Qualsiasi" @@ -811,12 +815,12 @@ #. TRANSLATORS: Tooltip on message context tag in the editing area, '%s' is the context text #, c-format msgid "String context: %s" -msgstr "" +msgstr "Contesto stringa: %s" #. TRANSLATORS: Tooltip on string ID tag in the editing area, '%s' contains the ID #, c-format msgid "String identifier: %s" -msgstr "" +msgstr "Identificatore stringa: %s" #, c-format msgid "%s Format" @@ -1413,7 +1417,7 @@ msgstr "Pre-traduzione in corsoâ¦" msgid "Cannot pre-translate without source text." -msgstr "" +msgstr "Impossibile pretradurre senza testo sorgente." #. TRANSLATORS: This is a somewhat common term describing the action where #. you apply the translation memory and/or machine translation to all of the @@ -1432,6 +1436,8 @@ "Pre-translation requires that source text is available. It doesnât work if " "only IDs without the actual text are used." msgstr "" +"La pre-traduzione richiede che sia disponibile il testo sorgente. \n" +"Non funziona se vengono utilizzati solo ID senza il testo effettivo." msgid "Only fill in exact matches" msgstr "Riempi solo quelle con corrispondenza esatta" @@ -2163,6 +2169,9 @@ "Translation suggestions require that source text is available. They donât " "work if only IDs without the actual text are used." msgstr "" +"I suggerimenti traduzione richiedono che sia disponibile il testo " +"sorgente. \n" +"Non funzionano se vengono utilizzati solo ID senza il testo effettivo." msgid "The TMX file is malformed." msgstr "Il file TMX presenta anomalie." Binary files old/poedit-3.3/locales/kab.mo and new/poedit-3.3.1/locales/kab.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/locales/kab.po new/poedit-3.3.1/locales/kab.po --- old/poedit-3.3/locales/kab.po 2023-05-09 19:25:56.000000000 +0200 +++ new/poedit-3.3.1/locales/kab.po 2023-05-16 15:41:39.000000000 +0200 @@ -3,7 +3,7 @@ "Project-Id-Version: poedit\n" "Report-Msgid-Bugs-To: [email protected]\n" "POT-Creation-Date: 2023-05-09 17:49+0200\n" -"PO-Revision-Date: 2023-05-09 15:48\n" +"PO-Revision-Date: 2023-05-16 10:07\n" "Last-Translator: \n" "Language-Team: Kabyle\n" "Language: kab_KAB\n" @@ -47,7 +47,7 @@ #, c-format msgid "The file â%sâ couldnât be opened." -msgstr "" +msgstr "Afaylu â%sâ ulamek ara yettwaldi." msgid "Invalid file" msgstr "Afaylu d armeÉ£tu" @@ -66,7 +66,7 @@ msgstr "Ifuyla n tsuqilt XLIFF" msgid "JSON Translation Files" -msgstr "" +msgstr "Ifuyla n tsuqqilt JSON" #. TRANSLATORS: "Flutter" is proper noun, name of a developer tool msgid "Flutter Translation Files" @@ -193,7 +193,7 @@ msgstr "Rnu" msgid "Unknown Crowdin error." -msgstr "" +msgstr "Tuccá¸a tarussint n Crowdin." msgid "Not authorized, please sign in again." msgstr "Ur yurig ara, ttxil-k qqen tikkelt-nniá¸en." @@ -601,7 +601,7 @@ #. TRANSLATORS: Shown as action button when asking if the user wants to replace string IDs with English text; "load" as in "load from file" msgid "Load English" -msgstr "" +msgstr "Sali-d taglizit" #, c-format msgid "Translated: %d of %d (%d %%)" @@ -771,7 +771,7 @@ #. TRANSLATORS: Refers to symbolic ID of source text, i.e. when something like "button.label" is used instead of English text msgid "Source text ID" -msgstr "" +msgstr "ID n uá¸ris aÉ£balu" msgid "Everything" msgstr "Akk" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/locales/ms.po new/poedit-3.3.1/locales/ms.po --- old/poedit-3.3/locales/ms.po 2023-05-09 19:25:57.000000000 +0200 +++ new/poedit-3.3.1/locales/ms.po 2023-05-16 15:39:54.000000000 +0200 @@ -515,8 +515,8 @@ #, c-format msgid "Poedit automatically fixed invalid content in the file â%sâ." msgstr "" -"Poedit secara automatik dapat tetapkan kandungan tidak sah dalam fail \"% s" -"\"." +"Poedit secara automatik dapat tetapkan kandungan tidak sah dalam fail " +"\"% s\"." msgid "" "The file contained duplicate items, which is not allowed in PO files and " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/cat_update.cpp new/poedit-3.3.1/src/cat_update.cpp --- old/poedit-3.3/src/cat_update.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/cat_update.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -210,7 +210,7 @@ { try { - return std::make_shared<POCatalog>(potFile, Catalog::CreationFlag_IgnoreHeader); + auto pot = POCatalog::Create(potFile, Catalog::CreationFlag_IgnoreHeader); } catch (...) { @@ -313,7 +313,7 @@ try { - auto pot = std::make_shared<POCatalog>(pot_file, Catalog::CreationFlag_IgnoreTranslations); + auto pot = POCatalog::Create(pot_file, Catalog::CreationFlag_IgnoreTranslations); // Silently fix duplicates because they are common in WP world: if (pot->HasDuplicateItems()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/catalog.cpp new/poedit-3.3.1/src/catalog.cpp --- old/poedit-3.3/src/catalog.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/catalog.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -1134,7 +1134,7 @@ { case Type::PO: case Type::POT: - return std::make_shared<POCatalog>(type); + return CatalogPtr(new POCatalog(type)); case Type::XLIFF: case Type::JSON: @@ -1155,7 +1155,7 @@ CatalogPtr cat; if (POCatalog::CanLoadFile(ext)) { - cat = std::make_shared<POCatalog>(filename, flags); + cat.reset(new POCatalog(filename, flags)); flags = 0; // don't do the stuff below that is already handled by POCatalog's parser } else if (XLIFFCatalog::CanLoadFile(ext)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/catalog.h new/poedit-3.3.1/src/catalog.h --- old/poedit-3.3/src/catalog.h 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/catalog.h 2023-05-16 15:39:54.000000000 +0200 @@ -462,7 +462,7 @@ }; /// Default ctor. Creates empty catalog, you have to call Load. - static CatalogPtr Create(Type type = Type::PO); + static CatalogPtr Create(Type type); /** Ctor that loads the catalog from \a po_file with Load. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/catalog_po.cpp new/poedit-3.3.1/src/catalog_po.cpp --- old/poedit-3.3/src/catalog_po.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/catalog_po.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -1623,6 +1623,8 @@ Load(po_file_fixed); m_fileName = oldname; + PostCreation(); + return true; } @@ -1686,7 +1688,7 @@ { try { - POCatalogPtr pot = std::make_shared<POCatalog>(pot_file, CreationFlag_IgnoreTranslations); + POCatalogPtr pot = std::dynamic_pointer_cast<POCatalog>(Catalog::Create(pot_file, CreationFlag_IgnoreTranslations)); return UpdateFromPOT(pot, replace_header); } catch (...) // FIXME @@ -1709,6 +1711,9 @@ case Type::POT: { m_items = pot->m_items; + m_sourceLanguage = pot->m_sourceLanguage; + m_sourceIsSymbolicID = pot->m_sourceIsSymbolicID; + m_hasPluralItems = pot->m_hasPluralItems; break; } @@ -1725,7 +1730,7 @@ POCatalogPtr POCatalog::CreateFromPOT(POCatalogPtr pot) { - POCatalogPtr c = std::make_shared<POCatalog>(); + POCatalogPtr c(new POCatalog(Type::PO)); if (c->UpdateFromPOT(pot, /*replace_header=*/true)) return c; else @@ -1770,6 +1775,8 @@ const wxString charset = m_header.Charset; Load(tmp3); + m_fileName = oldname; + PostCreation(); // msgmerge doesn't always preserve the charset, it tends to pick // the most generic one of the charsets used, so if we are merging with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/catalog_po.h new/poedit-3.3.1/src/catalog_po.h --- old/poedit-3.3/src/catalog_po.h 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/catalog_po.h 2023-05-16 15:39:54.000000000 +0200 @@ -148,18 +148,29 @@ class POCatalog : public Catalog { -public: - // Common wrapping values - static const int NO_WRAPPING = -1; - static const int DEFAULT_WRAPPING = -2; - +protected: /// Default ctor. Creates empty catalog, you have to call Load. - explicit POCatalog(Type type = Type::PO); + explicit POCatalog(Type type); /// Ctor that loads the catalog from \a po_file with Load. /// \a flags is CreationFlags combination. explicit POCatalog(const wxString& po_file, int flags = 0); +public: + // Common wrapping values + static const int NO_WRAPPING = -1; + static const int DEFAULT_WRAPPING = -2; + + static POCatalogPtr Create(Type type) + { + return std::dynamic_pointer_cast<POCatalog>(Catalog::Create(type)); + } + + static POCatalogPtr Create(const wxString& filename, int flags = 0) + { + return std::dynamic_pointer_cast<POCatalog>(Catalog::Create(filename, flags)); + } + ~POCatalog() {} bool HasCapability(Cap cap) const override; @@ -257,6 +268,7 @@ bool m_hasPluralItems = false; friend class POLoadParser; + friend class Catalog; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/concurrency.cpp new/poedit-3.3.1/src/concurrency.cpp --- old/poedit-3.3/src/concurrency.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/concurrency.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -69,6 +69,7 @@ #if defined(HAVE_HTTP_CLIENT) && !defined(__WXOSX__) CATCH_AND_WRAP(web::http::http_exception) #endif + CATCH_AND_WRAP(Exception) CATCH_AND_WRAP(std::runtime_error) CATCH_AND_WRAP(std::logic_error) CATCH_AND_WRAP(std::exception) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/edapp.cpp new/poedit-3.3.1/src/edapp.cpp --- old/poedit-3.3/src/edapp.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/edapp.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -987,7 +987,7 @@ try { - auto pot = std::make_shared<POCatalog>(dlg.GetPath(), Catalog::CreationFlag_IgnoreTranslations); + auto pot = POCatalog::Create(dlg.GetPath(), Catalog::CreationFlag_IgnoreTranslations); // Silently fix duplicates because they are common in WP world: if (pot->HasDuplicateItems()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/edframe.cpp new/poedit-3.3.1/src/edframe.cpp --- old/poedit-3.3/src/edframe.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/edframe.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -1433,7 +1433,7 @@ void PoeditFrame::NewFromScratch() { - auto catalog = std::make_shared<POCatalog>(); + auto catalog = POCatalog::Create(Catalog::Type::PO); catalog->CreateNewHeader(); m_catalog = catalog; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/json.h new/poedit-3.3.1/src/json.h --- old/poedit-3.3/src/json.h 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/json.h 2023-05-16 15:39:54.000000000 +0200 @@ -28,7 +28,10 @@ #include "str_helpers.h" +#include <boost/throw_exception.hpp> + #define JSON_USE_IMPLICIT_CONVERSIONS 0 +#define JSON_THROW_USER(exception) boost::throw_exception(exception) #ifdef HAVE_NLOHMANN_JSON_HPP #include <nlohmann/json.hpp> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/manager.cpp new/poedit-3.3.1/src/manager.cpp --- old/poedit-3.3/src/manager.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/manager.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -590,7 +590,7 @@ { Progress subtask(1, progress, 1); - auto cat = std::make_shared<POCatalog>(f); + auto cat = POCatalog::Create(f); UpdateResultReason reason; if (PerformUpdateFromSources(cat, reason)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/pretranslate.cpp new/poedit-3.3.1/src/pretranslate.cpp --- old/poedit-3.3/src/pretranslate.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/pretranslate.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -151,7 +151,7 @@ void PreTranslateWithUI(wxWindow *window, PoeditListCtrl *list, CatalogPtr catalog, std::function<void()> onChangesMade) { - if (catalog->UsesSymbolicIDsForSource()) + if (catalog->UsesSymbolicIDsForSource() || !catalog->GetSourceLanguage().IsValid()) { wxWindowPtr<wxMessageDialog> resultsDlg( new wxMessageDialog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/sidebar.cpp new/poedit-3.3.1/src/sidebar.cpp --- old/poedit-3.3/src/sidebar.cpp 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/sidebar.cpp 2023-05-16 15:39:54.000000000 +0200 @@ -876,7 +876,7 @@ m_pendingQueries = 0; // FIXME: Get catalog info from `item` once present there - if (m_parent->GetCatalog()->UsesSymbolicIDsForSource()) + if (m_parent->GetCatalog()->UsesSymbolicIDsForSource() || !m_parent->GetCatalog()->GetSourceLanguage().IsValid()) { SetMessage("SuggestionErrorTemplate", _(L"Translation suggestions require that source text is available. They donât work if only IDs without the actual text are used.")); return; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poedit-3.3/src/version.h new/poedit-3.3.1/src/version.h --- old/poedit-3.3/src/version.h 2023-05-09 19:23:16.000000000 +0200 +++ new/poedit-3.3.1/src/version.h 2023-05-16 15:39:54.000000000 +0200 @@ -26,7 +26,7 @@ #ifndef Poedit_version_h #define Poedit_version_h -#define POEDIT_VERSION "3.3" -#define POEDIT_VERSION_WIN 3,3,0 +#define POEDIT_VERSION "3.3.1" +#define POEDIT_VERSION_WIN 3,3,1 #endif // Poedit_version_h
