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!

CommentFileSizeAuthor
bible_field_sfb.patch15.81 KBnylin

Comments

rpeters’s picture

How would i make on for the NIV84?

m4olivei’s picture

Issue summary: View changes
Status: Active » Fixed

Thanks 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.