Changeset 6959
- Timestamp:
- 10/12/08 09:57:38 (5 years ago)
- Files:
-
- modules/branches/2.5/timeconditions/functions.inc.php (modified) (5 diffs)
- modules/branches/2.5/timeconditions/i18n/sv_SE/LC_MESSAGES/timeconditions.mo (modified) (previous)
- modules/branches/2.5/timeconditions/i18n/sv_SE/LC_MESSAGES/timeconditions.po (modified) (4 diffs)
- modules/branches/2.5/timeconditions/i18n/timeconditions.pot (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/timeconditions/functions.inc.php
r6846 r6959 16 16 } else { 17 17 //$type = isset($active_modules['announcement']['type'])?$active_modules['announcement']['type']:'setup'; 18 return array('description' => 'Time Conditon : '.$thisexten['displayname'],18 return array('description' => sprintf(_("Time Condition: %s"),$thisexten['displayname']), 19 19 'edit_url' => 'config.php?display=timeconditions&itemid='.urlencode($exten), 20 20 ); … … 85 85 $thisdest = $result['truegoto']; 86 86 $thisid = $result['timeconditions_id']; 87 $description = 'Timecondition: '.$result['displayname'];87 $description = sprintf(_("Time Condition: %s"),$result['displayname']); 88 88 $thisurl = 'config.php?display=timeconditions&itemid='.urlencode($thisid); 89 89 if ($dest === true || $dest = $thisdest) { … … 352 352 global $currentcomponent; 353 353 354 $descerr = 'Description must be alpha-numeric, and may not be left blank';354 $descerr = _("Description must be alpha-numeric, and may not be left blank"); 355 355 $extdisplay = isset($_REQUEST['extdisplay'])?$_REQUEST['extdisplay']:null; 356 356 $action= isset($_REQUEST['action'])?$_REQUEST['action']:null; … … 365 365 if (!$extdisplay) { 366 366 $currentcomponent->addguielem('_top', new gui_pageheading('title', _("Add Time Group"), false), 0); 367 $currentcomponent->addguielem( 'Time Group', new gui_textbox('description', '', _("Description"), 'This will display as the name of this Time Group.', '!isAlphanumeric() || isWhitespace()', $descerr, false), 3);367 $currentcomponent->addguielem(_("Time Group"), new gui_textbox('description', '', _("Description"), _("This will display as the name of this Time Group."), '!isAlphanumeric() || isWhitespace()', $descerr, false), 3); 368 368 } else { 369 369 $savedtimegroup= timeconditions_timegroups_get_group($extdisplay); … … 385 385 386 386 387 $currentcomponent->addguielem(_("Time Group"), new gui_textbox('description', $description, 'Description', 'This will display as the name of this Time Group.', '', '', false), 3);387 $currentcomponent->addguielem(_("Time Group"), new gui_textbox('description', $description, _("Description"), _("This will display as the name of this Time Group."), '', '', false), 3); 388 388 $timelist = timeconditions_timegroups_get_times($extdisplay); 389 389 foreach ($timelist as $val) { modules/branches/2.5/timeconditions/i18n/sv_SE/LC_MESSAGES/timeconditions.po
r6846 r6959 8 8 "Project-Id-Version: FreePBX timeconditions\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2008- 09-26 21:35+0200\n"11 "PO-Revision-Date: 2008- 09-26 23:29+0100\n"10 "POT-Creation-Date: 2008-10-06 12:39+0200\n" 11 "PO-Revision-Date: 2008-10-12 15:35+0100\n" 12 12 "Last-Translator: Mikael Carlsson <mickecamino@gmail.com>\n" 13 13 "Language-Team: Svenska\n" … … 18 18 "X-Poedit-Country: SWEDEN\n" 19 19 20 #: functions.inc.php:18 21 #: functions.inc.php:87 22 #, php-format 23 msgid "Time Condition: %s" 24 msgstr "Tidkondition: %s" 25 20 26 #: functions.inc.php:354 21 27 msgid "Description must be alpha-numeric, and may not be left blank" 22 msgstr "Beskrivningen fÃ¥r endast innehÃ¥lla alfa-numeriska tecken ochinte vara tom"28 msgstr "Beskrivningen kan bara inehÃ¥lla alfa-numeriska tecken och den kan inte vara tom" 23 29 24 30 #: functions.inc.php:358 31 #: functions.inc.php:367 25 32 #: functions.inc.php:387 26 33 #: page.timegroups.php:21 … … 37 44 38 45 #: functions.inc.php:367 46 #: functions.inc.php:387 39 47 msgid "Description" 40 48 msgstr "Beskrivning" 49 50 #: functions.inc.php:367 51 #: functions.inc.php:387 52 msgid "This will display as the name of this Time Group." 53 msgstr "Detta kommer att visas som namnet för denna tidgrupp." 41 54 42 55 #: functions.inc.php:373 … … 301 314 msgstr "Tidskonditioner" 302 315 316 msgid "Time Groups" 317 msgstr "Tidgrupper" 318 303 319 #: dirty fix for menus 304 320 msgid "Add" modules/branches/2.5/timeconditions/i18n/timeconditions.pot
r6846 r6959 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2008- 09-26 21:35+0200\n"11 "POT-Creation-Date: 2008-10-06 12:39+0200\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 17 17 "Content-Transfer-Encoding: 8bit\n" 18 18 19 #: functions.inc.php:18 functions.inc.php:87 20 #, php-format 21 msgid "Time Condition: %s" 22 msgstr "" 23 19 24 #: functions.inc.php:354 20 25 msgid "Description must be alpha-numeric, and may not be left blank" 21 26 msgstr "" 22 27 23 #: functions.inc.php:358 functions.inc.php:387 page.timegroups.php:21 28 #: functions.inc.php:358 functions.inc.php:367 functions.inc.php:387 29 #: page.timegroups.php:21 24 30 msgid "Time Group" 25 31 msgstr "" … … 33 39 msgstr "" 34 40 35 #: functions.inc.php:367 41 #: functions.inc.php:367 functions.inc.php:387 36 42 msgid "Description" 43 msgstr "" 44 45 #: functions.inc.php:367 functions.inc.php:387 46 msgid "This will display as the name of this Time Group." 37 47 msgstr "" 38 48 … … 283 293 msgstr "" 284 294 295 msgid "Time Groups" 296 msgstr "" 297 285 298 #: dirty fix for menus 286 299 msgid "Add"
