Changeset 5558 in subversion
- Timestamp:
- Dec 7, 2011 3:51:01 AM (18 months ago)
- Location:
- trunk/roundcubemail/bin
- Files:
-
- 1 added
- 1 edited
-
exportgettext.sh (modified) (2 diffs)
-
importgettext.sh (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/bin/exportgettext.sh
r5537 r5558 8 8 | This file is part of the Roundcube Webmail client | 9 9 | Copyright (C) 2011, The Roundcube Dev Team | 10 | Licensed under the GNU G PLv3|10 | Licensed under the GNU General Public License | 11 11 | | 12 12 | PURPOSE: | … … 188 188 { 189 189 $out = ""; 190 $lines = explode("\n", stripslashes($str)); 191 $suffix = count($lines) > 1 ? '\n' : ''; 190 $lines = explode("\n", wordwrap(stripslashes($str))); 192 191 foreach ($lines as $line) 193 $out .= '"' . addcslashes($line, '"') . $suffix ."\"\n";192 $out .= '"' . addcslashes($line, '"') . "\"\n"; 194 193 return rtrim($out); 195 194 }
Note: See TracChangeset
for help on using the changeset viewer.
