<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Not translatable string in rep108]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10082&amp;type=atom" />
	<updated>2022-11-17T23:00:30Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10082</id>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41752#p41752" />
			<content type="html"><![CDATA[<p>Fixed and committed to stable repo.</p><p>A new rep108.php file can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/reporting/rep108.php">here</a> and a new empty.po can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/lang/new_language_template/LC_MESSAGES/empty.po">here</a>.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2022-11-17T23:00:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41752#p41752</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41750#p41750" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>&quot;Customer %s has no overdue debs. No e-mail is send.&quot;</code></pre></div><p>should be:<br /></p><div class="codebox"><pre><code>&quot;Customer %s has no overdue debits. No e-mail is sent.&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2022-11-17T16:19:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41750#p41750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41740#p41740" />
			<content type="html"><![CDATA[<p>Ok, these changes has now been fixed and committed to stable repo.</p><p>A new rep108.php file can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/reporting/rep108.php">here</a> and a new empty.po can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/lang/new_language_template/LC_MESSAGES/empty.po">here</a>.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2022-11-12T13:10:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41740#p41740</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41739#p41739" />
			<content type="html"><![CDATA[<p>Hi Joe,</p><p>A better approach that also works if allocations are shown :</p><p>&nbsp; &nbsp; &nbsp; &nbsp; if ($email == 1)&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (($CustomerRecord[&quot;Balance&quot;]) != ($CustomerRecord[&quot;Balance&quot;] - $CustomerRecord[&quot;Due&quot;]))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $rep-&gt;End($email, _(&quot;Statement&quot;) . &quot; &quot; . _(&quot;as of&quot;) . &quot; &quot; . sql2date($date) . &quot; &quot; . _(&quot;from&quot;) . &quot; &quot; . get_company_pref(&#039;coy_name&#039;));<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display_notification(sprintf(_(&quot;Customer %s has no overdue debs. No e-mail is send.&quot;), $myrow[&quot;DebtorName&quot;]));&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><p>Notification is also more clear : No e-mail is send.</p><p>*.po-file needs to be updated :<br />-&#039;from&#039;<br />-&#039;Customer %s has no overdue debs. No e-mail is send.&#039;</p><p>Thanks !<br />F.</p>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2022-11-12T11:52:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41739#p41739</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41737#p41737" />
			<content type="html"><![CDATA[<p>Hello again,</p><p>name changed to DebtorName.</p><p>@advocaat.pollet<br />Your last suggestion regarding $rep-&gt;filename change I am not sure this is a good idea. Normally we are not localizing file names.</p><p>Please downlows this file, rename, replace and check. If ok we will commit it and an empty.po to stable repo.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2022-11-12T07:48:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41737#p41737</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41736#p41736" />
			<content type="html"><![CDATA[<p>There is also another not-translatable string string in rep108 :</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $rep-&gt;filename = &quot;Statement&quot; . $myrow[&#039;debtor_no&#039;] . &quot;.pdf&quot;;</p><p>Should be :</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $rep-&gt;filename = _(&quot;Statement&quot;) . $myrow[&#039;debtor_no&#039;] . &quot;.pdf&quot;;</p><p>Kind regards,</p><p>F.</p>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2022-11-12T00:20:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41736#p41736</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41735#p41735" />
			<content type="html"><![CDATA[<p>Hi,</p><p>&#039;Name&#039; should be &#039;DebtorName&#039;</p><p>F.</p>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2022-11-12T00:16:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41735#p41735</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41734#p41734" />
			<content type="html"><![CDATA[<p>@Joe</p><p>When there are no overdue-debts :</p><p>Undefined index: name in bestand: /var/lib/(...)/vhost/(...)/frontaccounting/reporting/rep108.php op regel 186</p><p>Kind regards,<br />F.</p>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2022-11-12T00:02:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41734#p41734</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41733#p41733" />
			<content type="html"><![CDATA[<p>@advocaat.pollet</p><p>Please download the file rep108.php1. Rename it to rep108.php and replace it in the /reporting folder.</p><p>Test this and report back.</p><p>If it is ok, we can commit it and update the po file.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2022-11-11T23:00:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41733#p41733</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41731#p41731" />
			<content type="html"><![CDATA[<p>Yes, a good idea. Will do that later this evening.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2022-11-11T15:56:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41731#p41731</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41730#p41730" />
			<content type="html"><![CDATA[<p>Thanks Joe !</p><p>I also have a suggestion for rep108 to NOT mail statements if there are no overdue debs :</p><p>&nbsp; &nbsp; &nbsp; &nbsp; if (($email == 1) AND ((($CustomerRecord[&quot;Due&quot;]-$CustomerRecord[&quot;Overdue1&quot;]) &lt;&gt; 0) OR (($CustomerRecord[&quot;Overdue1&quot;]-$CustomerRecord[&quot;Overdue2&quot;]) &lt;&gt; 0) OR ($CustomerRecord[&quot;Overdue2&quot;] &lt;&gt; 0)))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $rep-&gt;End($email, _(&quot;Statement&quot;) . &quot; &quot; . _(&quot;as of&quot;) . &quot; &quot; . sql2date($date));<br />&nbsp; &nbsp; &nbsp; &nbsp; else if ($email == 1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display_notification (_(&quot;Customer(s) has(have) no overdue debs.&quot;));</p><p>Needs also updated *.po-file.</p><p>F.</p>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2022-11-11T15:47:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41730#p41730</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41729#p41729" />
			<content type="html"><![CDATA[<p>Thanks for reporting this.</p><p>This is fixed and committed to stable repo.<br />A fixed empty.po file can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/lang/new_language_template/LC_MESSAGES/empty.po">here[</a> and a fixed rep108.php can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/reporting/rep108.php">here</a>.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2022-11-11T15:38:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41729#p41729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Not translatable string in rep108]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41727#p41727" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Rep108 has a not-translatable string : display_notification (&quot;No customers with outstanding balances found&quot;);</p><p>It should be : display_notification (_(&quot;No customers with outstanding balances found&quot;));</p><p>Also po- en mo-files need to be updated.</p><p>Kind regards,<br />F.</p>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2022-11-11T14:40:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41727#p41727</id>
		</entry>
</feed>
