You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><strong>FIX</strong>: Require Backrefs 3.5.0 which includes fixes for: pattern caching, named Unicode bug. Also adds better format
377
382
string replace with the added ability to use format string align and fill.</li>
378
383
<li><strong>FIX</strong>: Don't escape curly brackets in format strings just because they are string escaped when preprocessing Regex
@@ -401,7 +406,7 @@ <h2 id="36">3.6</h2>
401
406
<li><strong>FIX</strong>: Wildcard patterns not allowing character tokens such as <code>\x70</code>, <code>\u0070</code>, <code>\N{unicode name}</code>, <code>\160</code>, and
402
407
standard escapes like <code>\t</code> etc.</li>
403
408
<li><strong>FIX</strong>: Incorrect documentation on wildcard patterns.</li>
<li><strong>FIX</strong>: Require Backrefs 3.1.2. Some bug fixes, but notably, Backrefs switched from using <code>\<</code> and <code>\></code> for start and
406
411
end word boundaries to <code>\m</code> and <code>\M</code>. This is because of an oversight as Python versions less than 3.7 would escape
407
412
<code><</code> and <code>></code> in <code>re.escpae</code> (even though it is unnecessary). Also some Unicode table generation fixes.</li>
@@ -465,7 +470,7 @@ <h2 id="321">3.2.1</h2>
465
470
</ul>
466
471
<h2id="320">3.2.0</h2>
467
472
<ul>
468
-
<li><strong>NEW</strong>: Results update live. Progress has been removed. (<aclass="magiclink magiclink-github magiclink-issue" href="https://github.com/facelessuser/Rummage/issues/140" title="GitHub Issue: facelessuser/Rummage#140">#140</a>)</li>
473
+
<li><strong>NEW</strong>: Results update live. Progress has been removed. (<aclass="magiclink magiclink-github magiclink-issue" href="https://github.com/facelessuser/Rummage/issues/140" title="GitHub Issue: facelessuser/Rummage#140">#140</a>)</li>
469
474
<li><strong>FIX</strong>: Windows status bar flicker.</li>
470
475
<li><strong>FIX</strong>: Results not showing when notifications is set to only play audio alerts.</li>
<p>Restart of Nautilus may or may not be needed, but context menu item should appear under <code>Scripts</code> and should work on files and folders.</p>
<p>Next create your <code>.desktop</code> file in one of these locations creating the necessary folder(s) if needed. In this example, the file will be created at <code>~/.local/share/kservices5/ServiceMenus/rummage.desktoop</code>.</p>
<h3id="generate-new-template-from-source">Generate New Template from Source</h3>
257
249
<p>In the Python source, you'll notice that translatable strings are represented as <code>_("some text")</code>. <code>_</code> is the function that retrieves the proper translations. In order to provide translations, we have to build up a template of all of these strings in a <code>.pot</code> file. This is done by running:</p>
<p>This will scan the Python source and generate a template at <code>rummage/lib/gui/localization/locale/rummage.pot</code>.</p>
262
253
<p>If you update the source in a way that requires generating a new <code>.pot</code> file, then you will most likely need to update existing <code>.po</code> files as well. See <ahref="#update-translation-files">Update Translation Files</a> to see how.</p>
263
254
<p>See Babel's documentation on <ahref="http://babel.pocoo.org/en/latest/setup.html#extract-messages"><code>extract_messages</code></a> for more info.</p>
<p>When new strings are added in the source, or strings are changed, you will need to re-generate the <code>.pot</code> file and then update the <code>.po</code> files. This should update all <code>.po</code> files.</p>
<p>See Babel's documentation on <ahref="http://babel.pocoo.org/en/latest/setup.html#update-catalog"><code>update_catalog</code></a> for more info.</p>
274
263
<h3id="create-new-translations">Create New Translations</h3>
275
264
<p>To create a translation <code>.po</code> file to edit, all you need to do is run the command below specifying your locale. The command should create a <code>.po</code> file to edit and the associated directory structure.</p>
<p>This should build <code>.mo</code> files for all languages. See Babel's documentation on <ahref="http://babel.pocoo.org/en/latest/setup.html#compile-catalog"><code>compile_catalog</code></a> for more info.</p>
0 commit comments