"Sell" internal domains to yourself for possibly $0/-.
5,751 01/29/2013 02:28:32 am
Re: Creating Items for Domain Names (11 replies, posted in Items and Inventory)
5,752 01/29/2013 02:25:57 am
Re: How to translate words from the database (11 replies, posted in Translations)
Placed content in Wiki
5,753 01/29/2013 01:48:54 am
Re: How to translate words from the database (11 replies, posted in Translations)
Do not, in general, use php $ variables inside the translation text directly.
Check the 3166/3167 Mercurial for sprintf for example workarounds. Otherwise the litteral varable name will be parsed instead. Make sure every possible variable value has a translation in the .po/.mo files.
The lines (they seem okay in hindsight):
label_cell(_($myrow["name"]));// here the _() is put
label_cell(_($parent_text));// here the _() is put
label_cell(_($bs_text));// here the _() is putshould possibly be (%d for numbers and %s for strings) where every possible value of :
label_cell(sprintf(_("%s"), $myrow["name"]));// here the _() is put
label_cell(sprintf(_("%s"), $parent_text));// here the _() is put
label_cell(sprintf(_("%s"), $bs_text));// here the _() is putEven this may not work as intended since %s will be parsed as is and there is no preceeding or succeeding text to be translated. An eval() may have to be done on a cocatenated string containing the variable.
Try the following as well:
label_cell(_(sprintf("%s", $myrow["name"])));// here the _() is put
label_cell(_(sprintf("%s", $parent_text)));// here the _() is put
label_cell(_(sprintf("%s", $bs_text)));// here the _() is putMaybe a check to see if $parent_text is empty before translation would be all that is needed:
label_cell($empty(trim($parent_text)) ? "" : _($parent_text));// here the _() is put5,754 01/29/2013 01:36:25 am
Re: How to make a link popup a window? (32 replies, posted in FA Modifications)
Did you mean:
if ($editkey) {
set_editor('customer', $name, $editkey);
set_editor('item', $name, $editkey);
}5,755 01/28/2013 02:57:27 pm
Re: Hard coded items unable to translate (7 replies, posted in Translations)
Thanks Joe - HG 3166/3167 fixes it.
5,756 01/28/2013 02:20:10 pm
Re: Release 2.3.14 (10 replies, posted in Announcements)
A matching empty.po for both FA and FA install is attached for hg 3165.
5,757 01/28/2013 01:41:06 pm
Re: Hard coded items unable to translate (7 replies, posted in Translations)
In the same file gl/gl_bank.php line 73 with the same variable $trans_no is coded as:
display_notification_centered(sprintf(_("Payment %d has been entered"), $trans_no));whereas line 122 is coded as:
display_notification_centered(_("Deposit $trans_no has been modified"));Line 122 should hence be coded as
display_notification_centered(sprintf(_("Deposit %d has been modified"), $trans_no));5,758 01/28/2013 01:06:07 pm
Re: How to send auto email after direct invoice (9 replies, posted in Reporting)
Line 1000-1001 in file reporting/includes/pdf_report.inc has the necessary code you want to modify.
$msg = _("Dear") . " " . $contact['name2'] . ",\n\n"
. _("Attached you will find ") . " " . $subject ."\n\n";5,759 01/28/2013 01:02:41 pm
Re: change customer search option field (4 replies, posted in FA Modifications)
It is possible that the js in the company cache needs to be refreshed. For company 0 it would be:
cd /var/www/webroot
rm company/0/js_cache/*.js5,760 01/28/2013 01:48:06 am
Re: How to make a link popup a window? (32 replies, posted in FA Modifications)
@chrison Post 12 here:
While midway entering line items, when you find that you do not have the item in the item master, try entering the new item in another window/tab of the browser instead of the standard popup that occurs. Then save midway and choose to edit / append to the line items of the same main record. If you did not understand the above, then make some numbered steps and screenshots for reference and I'll match the steps to any new workaround ones.
5,761 01/27/2013 06:03:24 pm
Re: Allignment of combo boxes (4 replies, posted in Report Bugs here)
I tested out latest FA v2.3.14 Build 3165 in Firefox v18.0.1 and the Direct Invoice displays as it should. Attached Screenshot.
5,762 01/27/2013 03:22:15 pm
Re: Release 2.3.14 (10 replies, posted in Announcements)
FA v2.3.14 Mer Build 3165 is attached in this post.
Reverse Chronological Changeset since FA v2.3.14 Release:
==========================================
- Fixed a small bug in cost update
- 0002032: user_theme() should return default if theme does not exist
- Fixed a couple of small bugs in Inventory Purchasing Report.
- Included Sales Pricing, Purchasing Prising, Cost update and Reorder Levels in tabs in Items form.
- Partially delivered Sales Order can now be closed using 'Cancel Order' button on edition.
- In case of document reference already in use, FA suggest the next number (if possible) ready to save again.
- New report, Inventory Movements, added to FrontAccounting core.
- Text not gettextized in /admin/backups.php.
- Fixed 'Moved Temporarily' error after login (on some server configurations).
- Email of Sales Documents now use the General Contact type (fall back if no 'orders', 'invoices' contact types)
- Fixed 'page expired' prevention (white screen/warnings after session timout).
- Fixes in sales credit note voiding procedures (invalid changes in delivery notes).
5,763 01/27/2013 03:19:32 pm
Re: Release 2.3.14 (10 replies, posted in Announcements)
Several fixes / enhancements have been made in the HG Repo since the release of FA v2.3.14 (HG Changeset 3153) and the changed file set along with one new file as of HG Changeset 3165 is attached in this post.
5,764 01/27/2013 02:59:39 pm
Re: How to make a link popup a window? (32 replies, posted in FA Modifications)
Thanks Joe, HG Changeset 3165 fixed it.
5,765 01/27/2013 02:00:59 pm
Re: Allignment of combo boxes (4 replies, posted in Report Bugs here)
In which page?
5,766 01/27/2013 01:59:52 pm
Re: How to translate words from the database (11 replies, posted in Translations)
Translatable Text comes from language *.mo files compiled from the translated empty.po files named according to your language.
The Wiki pages for Language and Translation String updation would be useful.
5,767 01/27/2013 01:49:06 pm
Re: How to make a link popup a window? (32 replies, posted in FA Modifications)
HG Changeset 3162 has a set of changes to implement tabs.
There seems to be one mistake in the file inventory/cost_update.php for the number of arguments of the function called display_notification() that takes only 2 but is given 3, replacing the function called display_note() that took 4.
Both functions are defined in includes/ui/ui_msgs.inc.
5,768 01/27/2013 01:33:11 pm
Re: Stock Movement Report Not Working (9 replies, posted in Reporting)
HG Changeset 3159 introduced the new report. Purchasable Items must be defined first.
5,769 01/27/2013 01:27:40 pm
Re: How to delete outstanding order (14 replies, posted in Accounts Receivable)
HG Changeset 3161 does the job. Thanks Janusz.
5,770 01/27/2013 01:18:49 pm
Re: How to disable "Reference" for invoice (15 replies, posted in Accounts Receivable)
Thanks Joe, your HG commit 3160 does the job.
5,771 01/27/2013 01:14:26 pm
Re: Malicious Files Detected, hosted in BlueHost (3 replies, posted in Report Bugs here)
Where did you get the extension installed from? Must warn the community of blacklisted extension URLs.
5,772 01/27/2013 01:12:47 pm
Re: Translation portal (20 replies, posted in Translations)
use ur_PK.po and compile it to ur_PK.mo and use it.
5,773 01/27/2013 01:10:53 pm
Re: How to send auto email after direct invoice (9 replies, posted in Reporting)
Can have a cronjob to do it.
5,774 01/27/2013 01:09:51 pm
Re: tr_TR Translation (6 replies, posted in Translations)
You may have to put in another parameter for RTL (right to left) rendering of text in the said languages. Please refer the comments in the lang/installed_languages.inc file.
5,775 01/27/2013 01:05:03 pm
Re: Hard coded items unable to translate (7 replies, posted in Translations)
If you are in a hurry, then make your own empty.po files from the latest FA repo code and grab the script from the Wki.
