<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Release 2.4.13]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9975</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9975&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Release 2.4.13.]]></description>
		<lastBuildDate>Wed, 19 Oct 2022 14:24:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41607#p41607</link>
			<description><![CDATA[<p>@seahawk<br />No, the BCC is sent also without problems. Bear in mind, that the bcc is never seen on the emails. It is only a copy with the from and to on. So if you use the same email as the normal&nbsp; as bcc too, you will get confused. But it works.</p><p>So at my place everything works ok both in php8 and minors.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 19 Oct 2022 14:24:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41607#p41607</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41600#p41600</link>
			<description><![CDATA[<p>PLEASE DO NOT USE ANNOUNCEMENT FORUM FOR BUG REPORTING!!</p><p>I cannot reproduce this for release 2.4.13. Regarding sending to bcc, I can see a problem. Will investigate this.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 19 Oct 2022 07:20:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41600#p41600</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41599#p41599</link>
			<description><![CDATA[<p>I have now updated one of my FA installations on PHP8 and got the following errors:</p><p>1. On 2.4.12 it did not email the invoice when the server runs on PHP8, when reverting to 7.4 it sends correctly. On 2.4.13&nbsp; with PHP8, the email is sent, but only in text. The invoice is then also in text and no copy to the bcc field. Also now pdf attachment.</p><p>&quot;Subject: Invoice AWI0152 from Aquilla &quot;<br />&quot;--b640baceb3efdf08f767f71957c1a6cf<br />Content-Type: text/plain; charset=&quot;ISO-8859-1&quot;<br />Content-Transfer-Encoding: 8bit</p><p>Dear ,&quot;</p><p>The client&#039;s name is not in the email, </p><p>The rest of the content sent to the client:</p><p>&quot;--b640baceb3efdf08f767f71957c1a6cf<br />Content-Type: application/unknown; name=&quot;InvoiceAWI0152.pdf&quot;<br />Content-Transfer-Encoding: base64<br />Content-Disposition: attachment; filename=&quot;InvoiceAWI0152.pdf&quot;</p><p>JVBERi0xLjMKMS4wMCB3CjMgMCBvYmoKPDwvVHlwZSAvUGFnZQovUGFyZW50IDEgMCBSCi9N<br />ZWRpYUJveCBbMCAwIDU5NS4yOCA4NDEuODldCi9SZXNvdXJjZXMgMiAwIFIKL0NvbnRlbnRz&quot; This goes on for a bit.</p><p>This is just one error that I have picked up. </p><p>When reverting back to 7.4 it sends it correctly, to the client but does not send a bcc email to the company.</p>]]></description>
			<author><![CDATA[null@example.com (seahawk)]]></author>
			<pubDate>Tue, 18 Oct 2022 11:14:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41599#p41599</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41505#p41505</link>
			<description><![CDATA[<p>Post Release Fixes attached.</p><p><a href="https://github.com/apmuthu/frontac24/blob/master/core/CHANGELOG.txt">CHANGELOG</a></p><p><a href="https://codeload.github.com/FrontAccountingERP/FA/zip/refs/heads/master">Github Master (Bleeding Edge) Download Link</a></p><p>These fixes can be applied to (overwrite) the release version to be fully functional.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 26 Sep 2022 19:10:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41505#p41505</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41504#p41504</link>
			<description><![CDATA[<p>@apmuthu</p><p>After consulting Janusz regarding the --sort-output, we have decided NOT to change the sorting now. If this could be matured a bit then maybe in some coming minors.</p><p>A final version of the empty.po will be committed to stable in a while.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 26 Sep 2022 09:01:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41504#p41504</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41501#p41501</link>
			<description><![CDATA[<p>The final script (<strong>gettext_order.sh</strong>) to extract the strings from the empty.po file and re-organise it in an alphabetical order is here:<br /></p><div class="codebox"><pre><code>#!/usr/bin/bash

cat empty.po | while read -r line
do  
  if [[ ${line:0:1} == &quot;#&quot; ]]
  then
    echo &quot;${line}&quot; | sed -e &#039;s/\\/\//g&#039; # 116.94 secs
#    echo &quot;${line}&quot; | tr &#039;\\&#039; &#039;/&#039; # 118.61 secs
  else
    echo -E &quot;${line}&quot;
  fi
done  &gt; empty_ordered.po;</code></pre></div><p>I have added in the &quot;fuzzy&quot; line and the &quot;Report Bugs to&quot; line as well and ordered all the strings and attached it herein, Compared with yours too and strings are all okay except for some #references out of order.</p><p>The <strong>timer</strong> script for efficiency checks is:<br /></p><div class="codebox"><pre><code>#!/bin/sh

# This should be at the top of the script to get the start time of the script
start=$(date +%s.%N)

# Here you can place your function
sh $1

# bc not there in Git Bash
# duration=$(echo &quot;$(date +%s.%N) - $start&quot; | bc)
fin=$(date +%s.%N)
duration=$(awk &#039;{print $1-$2}&#039; &lt;&lt;&lt;&quot;${fin} ${start}&quot;)
execution_time=`printf &quot;%.2f seconds&quot; $duration`

echo &quot;Script $1 Execution Time: $execution_time&quot;

# Usage: timer gettext_order.sh</code></pre></div><p>Place the <strong>timer</strong> script in <strong>C:\Program Files\Git\mingw64\bin</strong> folder for windows users as there is no &quot;bc&quot; command in the minimal bash in Windows Git and an &quot;awk&quot; workaround is substituted and used for testing any script.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 25 Sep 2022 18:03:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41501#p41501</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41500#p41500</link>
			<description><![CDATA[<p>Still, the Windows xgettext is rather buggy.<br />I have done this extraction now with Poedit and all the conditions are fullfilled. A minor information header is put at the top according to recomendations.<br />Take a look at the final here:</p><p>I will push this to repo tomorrow.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sun, 25 Sep 2022 17:03:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41500#p41500</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41499#p41499</link>
			<description><![CDATA[<p>The following when run on your file may suffice to change backslashes to forward slashes:<br /></p><div class="codebox"><pre><code>cat empty_bs.po |  tr &#039;\\&#039; &#039;\/&#039; &gt; empty_fs.po</code></pre></div><p>Further &quot;if&quot; can be introduced to restrict it to lines that start with &quot;#&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 25 Sep 2022 07:49:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41499#p41499</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41498#p41498</link>
			<description><![CDATA[<p>The backslashes for file paths should all be forward slashes. Will check the rest in a while.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 25 Sep 2022 04:34:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41498#p41498</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41497#p41497</link>
			<description><![CDATA[<p>Hello @apmuthu,</p><p>I have now found the solution for fixing the empty.po file in Windows.</p><p>Please have a look at the empty.zip. The empty.po is sorted and no install files are included longer. And the line-ending is unix. </p><p>Could it be better?</p><p>If ok, I will commit it to stable.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sat, 24 Sep 2022 08:23:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41497#p41497</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41496#p41496</link>
			<description><![CDATA[<p>@apmuthu<br />I do have and use git and Tortoise git, so I will give your advice a try.</p><p>Thanks.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sat, 24 Sep 2022 05:55:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41496#p41496</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41495#p41495</link>
			<description><![CDATA[<p>Attached is the empty.po for the core. Please verify where &quot;\\n&quot; string is there as they are from js files which have not been parsed but taken from the pot files.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 24 Sep 2022 04:48:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41495#p41495</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41494#p41494</link>
			<description><![CDATA[<p>Tools like <a href="https://www.javainuse.com/bash">Online bash to windows batch file convertor</a> will not address missing linux binaries.</p><p>Install <a href="https://github.com/git-for-windows/git/releases/download/v2.37.3.windows.1/Git-2.37.3-64-bit.exe">Git for windows</a> (47 MB) and <a href="https://download.tortoisegit.org/tgit/2.13.0.0/TortoiseGit-2.13.0.1-64bit.msi">TortoiseGit</a> (20 MB).</p><p>Right Click on any folder (like frontac24 repo folder) and choose &quot;Git Bash Here&quot; and you can execute linux commands natively. Some missing linux binaries for windows like wget can be obtained from the likes of <a href="https://eternallybored.org/misc/wget/">here</a>. The wget.exe file needs to be placed at <strong>C:\Program Files\Git\mingw64\bin</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 24 Sep 2022 04:17:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41494#p41494</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41490#p41490</link>
			<description><![CDATA[<p>@apmuthu</p><p>I used a linux bash file from Janusz, that I translated to Windows bat file. I see that it is not working correctly.</p><p>My environment is Windows 11 and I am working in WampApache64 and this environment is very handy trapping&nbsp; php 8 errors.</p><p>Please provide an empty.po file for download here. Are you good at translating linux bash file into Windows bat file? If so, please provide a translation here.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 23 Sep 2022 21:04:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41490#p41490</guid>
		</item>
		<item>
			<title><![CDATA[Re: Release 2.4.13]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41489#p41489</link>
			<description><![CDATA[<p>Inadvertently, the <strong>install/lang</strong> strings got injected into the <strong>core empty.po</strong> file during the release of 2.4.13.</p><p>1 string is changed between the older core and the current one:<br />&quot; overdue Purchase Invoices&quot;<br />is now<br />&quot; unpaid Purchase Invoices&quot;</p><p>It is better to re-create the core empty.po file and make for a re-release.</p><p>There is really no new strings in the empty.po other than the changed string listed above.</p><p>Here is a <a href="https://gist.github.com/anjan-virtism/f9121542717f53b3bbb6043c31783aa2#file-extract-gettext-from-php-files-sh">quick &#039;n dirty script</a> to extract all gettext strings in FA:<br /></p><div class="codebox"><pre><code>find /var/www/frontac/ \( -name &quot;*.php&quot; -o -name &quot;*.inc&quot; \) ! -path &quot;./tmp/*&quot; | \
sort -bdf | \
xargs xgettext \
--default-domain=myapp \
--output=myapp.pot \
--language=PHP \
--indent \
--no-wrap \
--sort-output \
--omit-header</code></pre></div><p>The <strong>--omit-header</strong> can be omitted along with the last back slash for comparison purposes like in <a href="http://www.winmerge.org">WinMerge</a>.</p><p>As these strings will be sorted, it will be easy to compare *.po files between versions. Comments can be stripped with:<br /></p><div class="codebox"><pre><code>grep ^&#039;^#&#039; sourcefile.txt &gt; output.txt</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 23 Sep 2022 18:30:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41489#p41489</guid>
		</item>
	</channel>
</rss>
