summaryrefslogtreecommitdiff
path: root/bit_setup_inc.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-10 23:21:13 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-10 23:21:13 +0000
commit354c4388d0f274b45db77516a8364af2f56e66bc (patch)
tree0ba211d395ff74e8306191fdbf0373c67ca28c0c /bit_setup_inc.php
parent060f1df3dc2fc4ccd79d48d3bcc10fb28c11cc7d (diff)
downloadlanguages-354c4388d0f274b45db77516a8364af2f56e66bc.tar.gz
languages-354c4388d0f274b45db77516a8364af2f56e66bc.tar.bz2
languages-354c4388d0f274b45db77516a8364af2f56e66bc.zip
remove the source_id column and replace it with a language map in languages: i18n_content_translation_map
Diffstat (limited to 'bit_setup_inc.php')
-rw-r--r--bit_setup_inc.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index dd4a81a..9f3f1af 100644
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -31,4 +31,16 @@
}
$gBitSmarty->assign('bitlanguage', $gBitLanguage->mLanguage);
+
+ require_once( LANGUAGES_PKG_PATH . 'LibertyTranslations.php' );
+ $gLibertySystem->registerService( LIBERTY_SERVICE_TRANSLATION, LANGUAGES_PKG_NAME, array(
+ //'content_display_function' => 'translation_content_display',
+ //'content_preview_function' => 'translation_content_edit',
+ 'content_edit_function' => 'translation_content_edit',
+ 'content_store_function' => 'translation_content_store',
+ //'content_list_function' => 'translation_content_list',
+ //'content_load_function' => 'translation_content_load',
+ 'content_edit_mini_tpl' => 'bitpackage:languages/select_translations.tpl',
+ //'content_icon_tpl' => 'bitpackage:languages/translate_service_icon.tpl',
+ ) );
?>