PluginProbe
Database for Contact Form 7 / trunk
Database for Contact Form 7 vtrunk
trunk 3.0.6 3.0.7 3.0.8 3.0.9
cf7-database / admin / I18n.php

I18n.php in Database for Contact Form 7 trunk, at admin/I18n.php

79 lines 4.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit( 'Direct\'s not allowed' );
5 }
6
7 add_action( 'plugins_loaded', 'loadPluginTextdomain' );
8
9 function loadPluginTextdomain() {
10 if ( function_exists( 'determine_locale' ) ) {
11 $locale = determine_locale();
12 } else {
13 $locale = is_admin() ? get_user_locale() : get_locale();
14 }
15 unload_textdomain( 'cf7-database' );
16 load_textdomain( 'cf7-database', CF7D_PLUGIN_PATH . '/i18n/languages/' . $locale . '.mo' );
17 load_plugin_textdomain( 'cf7-database', false, CF7D_PLUGIN_PATH . '/i18n/languages/' );
18 }
19
20 function getTranslation() {
21 $translation = array(
22 'save_change' => __( 'Save Changes', 'cf7-database' ),
23 'cf7d' => __( 'Contact Form 7 Database', 'cf7-database' ),
24 'go_pro' => __( 'Go Pro', 'cf7-database' ),
25 'button_hor' => __( 'Grid View: This feature is available in Pro version.', 'cf7-database' ),
26 'filter_notice' => __( 'Filter: This feature is available in Pro version.', 'cf7-database' ),
27 'choose_form' => __( 'Choose Form', 'cf7-database' ),
28 'loading' => __( 'Loading...', 'cf7-database' ),
29 'export_csv' => __( 'Export to CSV: This feature is available in Pro version.', 'cf7-database' ),
30 'filter' => __( 'Filter', 'cf7-database' ),
31 'type_something' => __( 'Type something...', 'cf7-database' ),
32 'show' => __( 'Show', 'cf7-database' ),
33 'item' => __( 'items of', 'cf7-database' ),
34 'column_setting' => __( 'Column Settings', 'cf7-database' ),
35 'table_setting' => __( 'Table Settings', 'cf7-database' ),
36 'sort_column' => __( 'Sort Column', 'cf7-database' ),
37 'bordered' => __( 'Bordered', 'cf7-database' ),
38 'title' => __( 'Title', 'cf7-database' ),
39 'column_header' => __( 'Column Header', 'cf7-database' ),
40 'expandable' => __( 'Expandable', 'cf7-database' ),
41 'fixed_header' => __( 'Fixed Header', 'cf7-database' ),
42 'ellipsis' => __( 'Ellipsis', 'cf7-database' ),
43 'footer' => __( 'Footer', 'cf7-database' ),
44 'checkbox' => __( 'Checkbox', 'cf7-database' ),
45 'size' => __( 'Size', 'cf7-database' ),
46 'default' => __( 'Default', 'cf7-database' ),
47 'middle' => __( 'Middle', 'cf7-database' ),
48 'small' => __( 'Small', 'cf7-database' ),
49 'table_scroll' => __( 'Table Scroll', 'cf7-database' ),
50 'scroll' => __( 'Scroll', 'cf7-database' ),
51 'fixed_column' => __( 'Fixed Columns', 'cf7-database' ),
52 'pagination_top' => __( 'Pagination Top', 'cf7-database' ),
53 'top_left' => __( 'Top Left', 'cf7-database' ),
54 'top_center' => __( 'Top Center', 'cf7-database' ),
55 'top_right' => __( 'Top Right', 'cf7-database' ),
56 'pagination_bottom' => __( 'Pagination Bottom', 'cf7-database' ),
57 'bottom_left' => __( 'Bottom Left', 'cf7-database' ),
58 'bottom_center' => __( 'Bottom Center', 'cf7-database' ),
59 'bottom_right' => __( 'Bottom Right', 'cf7-database' ),
60 'none' => __( 'None', 'cf7-database' ),
61 'action' => __( 'ACTION', 'cf7-database' ),
62 'edit_information' => __( 'Edit Information', 'cf7-database' ),
63 'content_information' => __( 'Content Information', 'cf7-database' ),
64 'sure_delete' => __( 'Sure to delete?', 'cf7-database' ),
65 'cancel' => __( 'Cancel', 'cf7-database' ),
66 'ok' => __( 'OK', 'cf7-database' ),
67 'delete_selected' => __( 'Delete Selected', 'cf7-database' ),
68 'fields' => __( 'Fields', 'cf7-database' ),
69 'footerText' => __( 'We need your support to keep updating and improving the plugin. Please,', 'cf7-database' ),
70 'reviewLink' => __( 'help us by leaving a good review', 'cf7-database' ),
71 'thanks' => __( 'Thanks!', 'cf7-database' ),
72 'thankYouText' => __( 'Thank you for using Contact Form 7 Database from NinjaTeam', 'cf7-database' ),
73 'docs' => __( 'Docs', 'cf7-database' ),
74 'support' => __( 'Support', 'cf7-database' ),
75 'badge' => __( 'by NinjaTeam', 'cf7-database' ),
76 );
77 return $translation;
78 }
79