diff --git a/include/staff/templates/dynamic-form.tmpl.php b/include/staff/templates/dynamic-form.tmpl.php
index d44d3062b27cdbb497f2242dec90ba2eb1e2e709..98a2776742b6a51cf232f91e0456c1eea253b525 100644
--- a/include/staff/templates/dynamic-form.tmpl.php
+++ b/include/staff/templates/dynamic-form.tmpl.php
@@ -57,7 +57,7 @@ if (isset($options['entry']) && $options['mode'] == 'edit') { ?>
             if (($a = $field->getAnswer()) && $a->isDeleted()) {
                 ?><a class="action-button danger overlay" title="Delete this data"
                     href="#delete-answer"
-                    onclick="javascript:if (confirm('You sure?'))
+                    onclick="javascript:if (confirm('<?php echo __('You sure?'); ?>'))
                         $.ajax({
                             url: 'ajax.php/form/answer/'
                                 +$(this).data('entryId') + '/' + $(this).data('fieldId'),
diff --git a/setup/cli/modules/i18n.php b/setup/cli/modules/i18n.php
index 8edb5c955884d7a843bf7d420f24c9e9196f9e34..d219eb2453bbf3a056fa39bdc6e165362153e24a 100644
--- a/setup/cli/modules/i18n.php
+++ b/setup/cli/modules/i18n.php
@@ -435,7 +435,7 @@ class i18n_Compiler extends Module {
         // Unescape single quote (') and escape unescaped double quotes (")
         $string = preg_replace(array("`\\\(['$])`", '`(?<!\\\)"`'), array("$1", '\"'), $string);
         // Preserve embedded newlines -- preserve up to on
-        $string = preg_replace("`\n\s*`u", "\\n\n", $string);
+        $string = preg_replace("`\n`u", "\\n\n", $string);
         // Word-wrap long lines
         $string = rtrim(preg_replace('/(?=[\s\p{Ps}])(.{1,76})(\s|$|(\p{Ps}))/uS',
             "$1$2\n", $string), "\n");