I've made a patch that adds the swedish translation "Svenska Folkbibeln" to the module.
The patch also adds book_label to the bible_field field schema for use with $node object as: $node->field_bible_verse['und'][0]['book_label'];
I had to do this in one of my projects because I load a node object through node_load() and I didn't want more queries to the DB than the module has to do to get the field values.
I think it's a nice addition!
| Comment | File | Size | Author |
|---|---|---|---|
| bible_field_sfb.patch | 15.81 KB | nylin |
Comments
Comment #1
rpeters commentedHow would i make on for the NIV84?
Comment #2
m4oliveiThanks nylin for the patch, sorry it took so long to do anything with it!
I've committed your patch, with some changes. I wrote update hooks to get the extra DB columns in for existing bible_fields. I also changed the name of your Swedish bible module to svenska_folkbibeln to fall better in line with the others. I also added a blank module file, which was missing, and is needed for Drupal to see it.
rpeters, you may want to checkout the latest on the 7.x-1.x branch. I also needed the NIV so I added and committed a module for it.