<div dir="ltr"><span class="gmail-im"><br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(102,0,0)"><span class="gmail-im">  Can I see how it complain ?<span class="gmail-im"></span></span></span></blockquote><div>A .dmp file is created, but has no content ... :-(</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="color:rgb(102,0,0)">may be I can come up with another hack :}</span></div></blockquote><div>Sure you do, but don't waste a lot of time on it either, normally a user who uses Cinelerra in the local language will not use it in English.<br>It's really my fault, when I did the Spanish translation, I translated everything I saw without translating without really knowing what it was.<br>The funny thing is that these HTML-type tags work well translated, the only problem is if you open a project made in Spanish in another language, they stop working. Because the xml has these tags written with the local language.<br>Perhaps we should ensure that in the xml file the instruction is always written in English, and the user sees the labels as they are in the .po or .mo language file<br>Sorry if because of my lack of programming knowledge I say nonsense. I can really contribute ideas, some of them are surely stupid for the above, I have no programming knowledge.<br>But like I told you, don't give too much importance to this issue. <br></div><div> </div><div><br></div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar, 19 ene 2021 a las 20:06, Andrew Randrianasulu via Cin (<<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">В сообщении от Tuesday 19 January 2021 21:39:42 Rafa Mar Multimedia en Gnu\Linux via Cin написал(а):<br>
> Andrew,<br>
> 1- The thing about the transitions, if it is the same patch, I already<br>
> tried it and now it works perfectly. The fact that the default transition<br>
> is in English is not important, when it is configured it is in the local<br>
> language, but when the window is reopened it appears in English, but I<br>
> reiterate that this is not important and that it works perfectly.<br>
> <br>
> 2- I replaced the files mwindow.h and mwindow.C that you attach, when<br>
> compiling this error appeared:<br>
> mwindow.C:1032:9: warning: unused variable ‘result’ [-Wunused-variable]<br>
>      int result;<br>
>          ^~~~~~<br>
> But it compiled and installed fine.<br>
> 2.1 But when opening a project in local mode, all the effects and<br>
> transitions used in this project generated an error, the error said that<br>
> these effects and transitions did not belong to Cinelerra.<br>
<br>
As I said - file currently a mess ....I tried to fix local old test projects (where effect names <br>
were translated into cp1251) and only messed it up more ...<br>
<br>
Just two lines calling <br>
<br>
                        if( new_edl->load_xml(&xml_file, LOAD_ALL) ) {<br>
                                eprintf(_("Error: unable to load:\n  %s"), filename);<br>
@@ -2657,7 +2748,8 @@ void MWindow::test_plugins(EDL *new_edl, const char *path)<br>
                                if( plugin->plugin_type != PLUGIN_STANDALONE ) continue;<br>
 // ok we need to find it in plugindb<br>
                                PluginServer *server =<br>
-                                       scan_plugindb(plugin->title, track->data_type);<br>
+                                       scan_plugindb(_(plugin->title), track->data_type);<br>
+                               fix_plugin_title(_(plugin->title));<br>
                                if( !server || server->transition ) {<br>
                                        sprintf(string,<br>
        _("The %s '%s' in file '%s' is not part of your installation of Cinelerra.\n"<br>
@@ -2672,7 +2764,8 @@ void MWindow::test_plugins(EDL *new_edl, const char *path)<br>
                        if( !edit->transition ) continue;<br>
 // ok we need to find transition in plugindb<br>
                        PluginServer *server =<br>
-                               scan_plugindb(edit->transition->title, track->data_type);<br>
+                               scan_plugindb(_(edit->transition->title), track->data_type);<br>
+                       fix_plugin_title(_(edit->transition->title));<br>
                        if( !server || !server->transition ) {<br>
                                sprintf(string,<br>
        _("The %s '%s' in file '%s' is not part of your installation of Cinelerra.\n"<br>
<br>
remove or comment out those two calls to  fix_plugin_title()<br>
<br>
> 2.2 It is true that now from the terminal the xml files are no longer<br>
> overwritten or deleted, but the render still does not work.<br>
<br>
<br>
Can I see how it complain ?<br>
<br>
<br>
> <br>
> 3- The tags in the title effect works fine but the translations are lost in<br>
> working in local mode. This point is my fault, maybe these tags shouldn't<br>
> be translated.<br>
<br>
As far as I understand currently CinGG send exactly same text that you put <br>
into menu item structure, there is no generic support for holding both translated and <br>
untranslated string there ...<br>
<br>
may be I can come up with another hack :}<br>
<br>
> <br>
> Sincerely Rafa.<br>
> <br>
> El mar, 19 ene 2021 a las 17:14, Reuss András via Cin (<<br>
> <a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>>) escribió:<br>
> <br>
> > There are a few parts where save_backup() is called:<br>
> ><br>
> > cinelerra/cwindowgui.C:2<br>
> > cinelerra/swindow.C:1<br>
> > cinelerra/keyframepopup.C:2<br>
> > cinelerra/pluginpopup.C:1<br>
> > cinelerra/mwindowedit.C:87<br>
> > cinelerra/presetsgui.C.sav1:1<br>
> > cinelerra/assetpopup.C:1<br>
> > cinelerra/cwindowtool.C:1<br>
> > cinelerra/render.C:1<br>
> > cinelerra/setformat.C:1<br>
> > cinelerra/mwindow.C:9<br>
> > cinelerra/keyframegui.C:2<br>
> > cinelerra/mwindowgui.C:1<br>
> > cinelerra/mainmenu.C:1<br>
> > cinelerra/loadfile.C:2<br>
> > cinelerra/savefile.C:2<br>
> > cinelerra/menueffects.C:1<br>
> > cinelerra/main.C:1<br>
> > cinelerra/presetsgui.C.sav:1<br>
> > cinelerra/record.C:1<br>
> > cinelerra/plugindialog.C:1<br>
> ><br>
> ><br>
> > On 2021. 01. 19. 14:45, Andrea paz via Cin wrote:<br>
> > ...><br>
> > > Backup: several backups with timecode and number are created (38 after<br>
> > > a little testing). In .bcast5 there is a backup.prev; a backup.xml and<br>
> > > the various backups with timecode. "Save backup" creates a new backup;<br>
> > > "load backup" creates a new backup; I didn't really understand how it<br>
> > > works.<br>
> > ><br>
> > ...><br>
> ><br>
> > --<br>
> > Cin mailing list<br>
> > <a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
> > <a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
> ><br>
> <br>
<br>
<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>