blob: ab71fd3dc7c701eb3fcfdcd779ea472220e8332a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
<?php
/**
* Javascript datoteka generirana s PHPjem, ki includa posamezne vrstice jezikovne datoteke, da se lahko uporabijo tudi v Javascriptu
* primer: lang['besedilo'] -- 'besedio' je isto kot v PHP arrayu $lang['besedilo']
*
* Datoteko poklicemo s parametrom ?lang=si ?lang=en
*/
// seconds, minutes, hours, days
$expires = 60*60*24*14;
header("Pragma: public");
header("Cache-Control: maxage=".$expires);
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT');
header('Content-Type: application/x-javascript; charset=utf-8');
// includamo ustrezen jezik
if (isset($_GET['lang']))
$lang = $_GET['lang'];
if ($lang == 'si')
include dirname(__FILE__).'/../../../lang/1.php';
else
include dirname(__FILE__).'/../../../lang/2.php';
//include google maps API key/**
$settings_optional = dirname(__FILE__).'/../../../settings_optional.php';
if(file_exists($settings_optional)){
include $settings_optional;
}
echo "var google_maps_API_key = '".(!empty($google_maps_API_key) ? $google_maps_API_key : '')."';";
// funkcija, ki skreira nov element v arrayu
function lang ($key) {
global $lang;
if (array_key_exists($key, $lang))
echo 'lang[\''.$key.'\'] = \''.$lang[$key].'\';'."\n";
}
// javascript
echo 'var lang = new Array();'."\n\n";
lang('srv_brisispremenljivkoconfirm');
lang('srv_brisispremenljivko');
lang('srv_editirajspremenljivko');
lang('srv_copy_spr');
lang('srv_predogled_spremenljivka');
lang('srv_if_edit');
lang('srv_bruto_v_cas');
lang('srv_block_edit');
lang('srv_loop_edit');
lang('srv_copy_if');
lang('srv_copy_ifcond');
lang('srv_copy_block');
lang('srv_copy_loop');
lang('srv_if_rem');
lang('srv_if_rem_all');
lang('srv_block_rem');
lang('srv_block_rem_all');
lang('srv_loop_rem');
lang('srv_loop_rem_all');
lang('srv_brisiifconfirm');
lang('srv_brisiifconfirm_all');
lang('srv_brisiblockconfirm');
lang('srv_brisiblockconfirm_all');
lang('srv_brisiloopconfirm');
lang('srv_brisiloopconfirm_all');
lang('srv_vsi');
lang('srv_nevem');
lang('srv_zavrnil');
lang('srv_neustrezno');
lang('srv_editirajuvod');
lang('srv_editirajzakljucek');
lang('srv_permanent_date');
lang('srv_permanent_diable');
lang('srv_upgrade_ie');
lang('srv_missing_value_not_empty');
lang('srv_missing_confirm_use_system');
lang('srv_missing_confirm_delete');
lang('srv_collectdata_progress_status');
lang('srv_collectdata_progress_status1');
lang('srv_collectdata_progress_status2');
lang('srv_collectdata_progress_status3');
lang('srv_collectdata_progress_status8');
lang('srv_collectdata_progress_status9');
lang('srv_collectdata_progress_status0');
lang('srv_collectdata_progress_status0');
lang('srv_collectdata_failed');
lang('comments');
lang('srv_testiranje_komentarji_anketa_title2');
lang('srv_testiranje_komentar_q_all_title');
lang('srv_testiranje_komentar_q_resp_all_title');
lang('srv_testiranje_komentar_q_title');
lang('srv_testiranje_komentar_if_title');
lang('srv_testiranje_komentar_if_all_title');
lang('srv_testiranje_komentar_blok_title');
lang('srv_testiranje_komentar_blok_all_title');
lang('srv_loop_multiplication_error');
lang('srv_please_wait');
lang('send');
lang('srv_time_profile_error_interval');
lang('srv_disable');
lang('srv_if_new');
lang('srv_if_new_question');
lang('srv_chart_edit_warning');
lang('srv_inv_recipients_delete_profile_confirm');
lang('srv_inv_recipients_delete_list_confirm');
lang('srv_inv_recipients_delete_multi');
lang('srv_inv_recipients_delete_all');
lang('srv_inv_list_delete_multi');
lang('save');
lang('srv_new_vrednost');
lang('srv_analiza_arhiviraj');
lang('srv_success_save');
lang('srv_invitation_note1');
lang('srv_invitation_note2');
lang('srv_invitation_note10');
lang('srv_new_question');
lang('srv_data_delete_not_selected');
lang('srv_novavrednost_drugo');
lang('srv_unlock_alert');
lang('srv_custom_report_first');
lang('srv_ask_delete');
lang('srv_brisivrednostconfirm');
lang('srv_brisivrednost');
lang('srv_incremental_hs1');
lang('srv_incremental_hs2');
lang('srv_incremental_hs3');
lang('srv_incremental_hs4');
lang('srv_incremental_hs5');
lang('srv_incremental_hs6');
lang('srv_incremental_hs7');
lang('srv_incremental_hs99');
lang('srv_chart_num_limit_warning');
lang('srv_unlock_popup2');
lang('srv_unlock_popup3');
lang('srv_unlock_mobile');
lang('srv_custom_report_insert_title');
lang('srv_custom_report_inserted_title');
lang('srv_advanced_slideshow');
lang('srv_urlLinks_delete');
lang('srv_zapri');
lang('srv_remind_preview');
lang('srv_language_technology_flagged_wordings');
lang('srv_language_technology_wording_properites');
lang('srv_language_technology_wording');
lang('srv_language_technology_freguency');
lang('srv_language_technology_word_type');
lang('srv_language_technology_word_type');
lang('srv_language_technology_meanings');
lang('srv_language_technology_noun');
lang('srv_language_technology_verb');
lang('srv_language_technology_adjective');
lang('srv_language_technology_adverb');
lang('srv_language_technology_existential');
lang('srv_language_technology_relevant_meanings');
lang('srv_language_technology_alternative_wordings');
lang('srv_language_technology_no_alternative');
lang('srv_language_technology_no_alternative_selected');
lang('srv_aapor_automatic');
lang('edit_hide');
lang('edit_show');
lang('srv_hide-disable_answer-0');
lang('srv_hide-disable_answer-1');
lang('srv_hide-disable_answer-2');
lang('srv_podif_edit');
lang('srv_follow_up');
lang('srv_skala_0');
lang('srv_skala_1');
lang('upload_img2');
lang('srv_cookie_continue_alert');
lang('delete_account_conformation');
lang('change_account_pass_conformation');
lang('cms_error_password_incorrect');
lang('password_err_complex');
lang('srv_survey_list_users_confirm_delete');
lang('srv_survey_list_users_confirm_delete_warning');
lang('login_alternative_emails_error');
lang('login_alternative_emails_success');
lang('srv_user_exist');
lang('srv_user_not_exist');
lang('srv_newSurvey_survey_template_error');
lang('srv_checkbox_min_limit_error_msg');
lang('srv_heatmap_radius');
lang('srv_delete_testdata_warning');
lang('srv_alert_upload_size');
lang('srv_alert_upload_ext');
lang('srv_trans_lang');
lang('srv_manager_remove_alert');
lang('srv_resevanje_foto_pre_result');
//LOKACIJA
lang('srv_branching_no_results_geo_map');
lang('srv_vprasanje_fokus_button_map_set');
lang('srv_vprasanje_fokus_button_map_save');
lang('srv_vprasanje_fokus_button_map_cancel');
lang('srv_vprasanje_fokus_button_map_set_title');
lang('srv_vprasanje_fokus_button_map_save_title');
lang('srv_vprasanje_fokus_button_map_cancel_title');
lang('srv_vprasanje_delete_line_map');
lang('srv_vprasanje_delete_line_confirm_map');
lang('srv_vprasanje_delete_point_map');
//za resevanje ankete lokacija
lang('srv_resevanje_alert_location_not_found_map');
lang('srv_resevanje_user_denied_geo_map');
lang('srv_resevanje_browser_not_support_geo_map');
lang('srv_resevanje_position_unavailable_geo_map');
lang('srv_resevanje_timeout_geo_map');
lang('srv_resevanje_unknown_error_geo_map');
lang('srv_vprasanje_button_map_clear');
// HIARHIJA
lang('srv_hierarchy_create_error_2');
lang('srv_hierarchy_create_error_3');
// DRUPAL
lang('register_new_user');
lang('srv_gdpr_frontend_external_login');
lang('srv_gdpr_frontend_external_login_agree');
lang('srv_gdpr_frontend_register');
//MAZA
lang('srv_maza_repeater_edit_warning_alert');
lang('srv_maza_repeater_finish_warning_alert');
lang('srv_maza_geofence_infowin_name');
lang('srv_maza_geofence_infowin_radius');
lang('srv_maza_geofence_infowin_radius_unit');
lang('srv_maza_geofence_delete_confirm_map');
// EOF
|