Changeset 9373
- Timestamp:
- 03/24/10 18:09:41 (3 years ago)
- Files:
-
- freepbx/trunk (modified) (1 prop)
- freepbx/trunk/amp_conf/htdocs/recordings/theme/js (copied) (copied from freepbx/branches/2.7/amp_conf/htdocs/recordings/theme/js)
- freepbx/trunk/amp_conf/htdocs/recordings/theme/page.tpl.php (modified) (1 diff)
- freepbx/trunk/install_amp (modified) (1 diff)
- freepbx/trunk/update_i18n.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk
- Property svnmerge-integrated changed from /freepbx/branches/2.7:1-9251 to /freepbx/branches/2.7:1-9372
freepbx/trunk/amp_conf/htdocs/recordings/theme/page.tpl.php
r8040 r9373 5 5 <link rel="stylesheet" href="theme/main.css" type="text/css"> 6 6 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 7 <script type="text/javascript" src=" ../../admin/common/libfreepbx.javascripts.js"></script>7 <script type="text/javascript" src="theme/js/libfreepbx.javascripts.js"></script> 8 8 </head> 9 9 <body> freepbx/trunk/install_amp
r8599 r9373 1039 1039 if (!is_dir("/var/spool/asterisk/voicemail/device")) amp_mkdir("/var/spool/asterisk/voicemail/device", "0755", true); 1040 1040 out("OK (".$num_copied." files copied, ".($num_files-$num_copied)." skipped)"); 1041 1042 // link the packed js library for ARI, if there the error will indicate that 1043 $libfreepbx = $amp_conf['AMPWEBROOT'].'/admin/common/libfreepbx.javascripts.js'; 1044 $dest_libfreepbx = $amp_conf['AMPWEBROOT'].'/recordings/theme/js/libfreepbx.javascripts.js'; 1045 if (file_exists($libfreepbx) && !file_exists($dest_libfreepbx)) { 1046 outn(_("linking libfreepbx.javascripts.js to theme/js..")); 1047 if (link($libfreepbx, $dest_libfreepbx)) { 1048 out(_("ok")); 1049 } else { 1050 out(_("possible error - check warning message")); 1051 } 1052 } 1041 1053 } 1042 1054 freepbx/trunk/update_i18n.sh
r8878 r9373 38 38 echo "Creating ${modules%%/}.pot file, extracting text strings" 39 39 # Save the file as a temp file 40 find ${modules%%/}/*.php | xargs xgettext - L PHP -o ${modules%%/}/i18n/${modules%%/}.tmp --keyword=_ -40 find ${modules%%/}/*.php | xargs xgettext --no-location -L PHP -o ${modules%%/}/i18n/${modules%%/}.tmp --keyword=_ - 41 41 # Now add the copyright and the license info to the.pot file 42 42 # Again, could be done better, but I lack the time and really need this out now … … 71 71 # spit out the module.xml for core to amp.i18.php so that we can grab it with the find 72 72 /var/lib/asterisk/bin/module_admin i18n core > admin/modules/core/core.i18n.php 73 find admin/*.php admin/cdr/*.php admin/views/*.php admin/common/*.php admin/modules/core/*.php -maxdepth 0 | xargs xgettext - L PHP -o admin/i18n/amp.pot --keyword=_ -73 find admin/*.php admin/cdr/*.php admin/views/*.php admin/common/*.php admin/modules/core/*.php -maxdepth 0 | xargs xgettext --no-location -L PHP -o admin/i18n/amp.pot --keyword=_ - 74 74 # remove the <modulename>.i18.php 75 75 rm admin/modules/core/core.i18n.php
