make gnc_path_get_localedir() and GETTEXT_PACKAGE available for python
to access locales. Import gettext module to provide _ as translator
method. Provide null _-method returning english text in case of missing gettext.
Make a lot of messages translatable by adding _-method. Include python
files to create .pot-files.
Displays the Transaction Association link in the Transaction Report and
when selected will open the association outside of Gnucash as it
currently does when opened from the register.
Use the existing associations functions to do the updating, opening and
removing of the association for invoices and all objects that use the
invoice interface. The actual association when present is added as a
link button which is shown below the notes.
Display glyphs in the register for transaction associations if a font
has them. A test is made when the register is loaded to see if there is
a font that has the two glyphs available otherwise the usual characters
are used. The two glyphs used are...
GLYPH_PAPERCLIP // Codepoint U+1F4CE
GLYPH_LINK // Codepoint U+1F517
Change the way the user picks a file association from using a
GtkFileChooserWidget to a GtkFileChooserButton so that you will get a
native file dialogue if you have at least Gtk+ version 3.20
When the path head is changed the associations are not updated so this
change adds a dialog to ask if you want the old relative paths updated
to absolute ones and whether to update existing absolute paths to new
relative ones.
Currently to refresh the list the dialog needs to be closed and
re-opened so add a button to reload the model instead. Also added
another button that does a reload and location check in one.
The transaction association dialog was all setup from gnc-split-reg but
it seems logical to move all the association source to one file so this
commit does that as well as changing the dialog to be based on a glade
file. The existing toolbar menu entries have changed to Update, Open and
Remove the association.
It might be different from the parent account's. Also check the
commodity, not the currency-or-parent; moving widgets to flidgets
is just as bad as pounds to dollars.
Set the expanding columns in the lot viewer to be the 'Title' and the
'Description'. Also ellipsize the description to help with long
transaction descriptions.
When you try and sort on balance, amount and value the columns are
sorted alphabetically as opposed to numeric value. Fixed by adding
extra double columns to the list store and use them to sort the numeric
columns.