Still getting used to PHP and FA's setup...

Shouldn't $limit <= $amnt_tr work? There shouldn't be a reason why a transfer can't be the same amount as the $limit

Plus it should be that you can't take out more than you have in your account (unless you have some type of credit maybe)

Brian

3

(40 replies, posted in Translations)

Is there some sort of repository for FA? I have been busy with finishing my degree so I haven't been keeping the Swedish language file up to date. Now that Iam done with school I wanted to work with FA some more, only to find the Swedish file in dismay. I didn't keep a copy of the language fileI did earlier, but it would be a great help to merge the last one I did with the lastest version. Is there any way of doing this, or am I going to have to go through the whole file again?

Brian

4

(40 replies, posted in Translations)

I have corrected the Swedish language file, so it should be up to date for this last version. I will be sending along as soon as I can find the e-mail address...

/Brian

I have found out that Xampp uses a cache so I have to shutdown and restart Apache. Oh well, it works anyway. Only 2500 translations left... but I must say using POedit works well!

I get the same problem as stated here, despite me deleting the cache, logging in and out and using another browser.

I have a test environment on a local machine using Windows 7 & Xampp, could there be a cache there maybe...

I didn't know the update process would overwrite the files in the folder... yes I am starting over again... yes I will share when done... but I would like to test the translations too...

Cheers!

Just some thoughts as I peruse the 19000 some odd lines of text...

As I go through the Swedish translation I am finding the same sentence to be translated time and time again. I am a firm believer of OHIO (only handle it once), so the thought comes is this the best way to handle translations?

I must say up front that I don't know how the system works, but it seems like having to translate the same text time and time again is a waste of resources. Especially when you (read I) don't fully understand the context of the message.

At the same time I don't have any revolutionary to bring to the table, other than the desire to make this work more resource efficiently...

Just to make sure I have understood how to do the editing. I use the program POedit and edit the po file and then send in both the po and mo files to you?? I've already edited the po file, can I just run the file through the program or do I have to do everything over again??

I hope I haven't opened a can of worms...

Well I found out what the format was by locating the module code... feeling a bit sheepish roll

////////////////
// File Format

This extension imports CSV files of the following format:
entryid,date,reference,accountcode,dimension1,dimension2,amount,memo

- 'entryid' can be any value, so long as it differs from all other entryids
  in the import file.  Every entryid will result in a separate journal entry
  being created with the specified transaction data within it. 
  Transactions with the same entryid must be grouped together within the
  import file.
- 'date' and 'reference' should be the same throughout a given entry.
- For proper use of all of these fields (except 'entryid'), see the
  Journal Entry entry dialog within FrontAccounting under Banking and
  General Ledger.
- entryid does *not* correspond to what the journal entry id will be within
  FrontAccounting.

In the case above, the separator is a comma (,) though any separator will work.

Example import file:
entryid,date,reference,accountcode,dimension1,dimension2,amount,memo
1,10/5/2009,TD-1,10002,MyDim,,945.59,"My memo"
1,10/5/2009,TD-1,5600,MyDim2,,-400,""
1,10/5/2009,TD-1,5602,MyDim2,,-545.59,""
2,10/7/2009,TD-2,5602,,,-100,""
2,10/7/2009,TD-2,5602,MyDim,,100,"Reimbursement"

This file will result in two journal entries:
- One dated 10/5/2009 with reference TD-1 and three transactions
- One dated 10/7/2009 with reference TD-2 and two transactions

Note 1: Dimensions are expressed in references, not IDs!

Note 2: It is wise to enclose memos in double quotes ("my memo") so that
        it will be parsed properly in case it contains the field separator.

I was wondering what the import format is. Seeing as you can change the field separator I am presuming it is a basic CSV type format, but how are the fields organized?

Sorry if this is covered someplace else. I did look for the information but didn't check exhaustively...