Skip to content

Commit

Permalink
Damned translations
Browse files Browse the repository at this point in the history
Blaming the french on their love of hte ' for this
  • Loading branch information
wilpig committed Mar 23, 2018
1 parent 16e531b commit fe4cde7
Show file tree
Hide file tree
Showing 31 changed files with 530 additions and 6,153 deletions.
20 changes: 10 additions & 10 deletions configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ function removemedia(row){
$(this).remove();
});
}else{ // failed to delete
$('#modaltext').html('AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>');
$('#modaltext').html("AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>");
$('#modal').dialog('option','buttons',cancelbutton);
}
});
Expand All @@ -616,7 +616,7 @@ function removemedia(row){
$(this).remove();
});
}else{ // failed to delete
$('#modaltext').html('AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>');
$('#modaltext').html("AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>");
$('#modal').dialog('option','buttons',cancelbutton);
}
});
Expand Down Expand Up @@ -791,7 +791,7 @@ function removecolor(rowobject,lookup){
$(this).remove();
});
}else{ // failed to delete
$('#modaltext').html('AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>');
$('#modaltext').html("AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>");
$('#modal').dialog('option','buttons',cancelbutton);
}
});
Expand All @@ -812,7 +812,7 @@ function removecolor(rowobject,lookup){
// color so they will display the new color
$('#mediatypes > div ~ div:not(:last-child) input').val('').change();
}else{ // failed to delete
$('#modaltext').html('AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>');
$('#modaltext').html("AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>");
$('#modal').dialog('option','buttons',cancelbutton);
}
});
Expand Down Expand Up @@ -1035,7 +1035,7 @@ function processChange() {
$(this).dialog("destroy");
}
}
<?php echo " var modal=$('<div />', {id: 'modal', title: '".__("Custom Device Attribute Type Change Error")."'}).html('<div id=\"modaltext\">AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br>".__("Something just went horribly wrong.")."</div>').dialog({"; ?>
<?php echo " var modal=$('<div />', {id: 'modal', title: \"".__("Custom Device Attribute Type Change Error")."\"}).html(\"<div id=\\\"modaltext\\\">AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br>".__("Something just went horribly wrong.")."</div>\").dialog({"; ?>
dialogClass: 'no-close',
appendTo: 'body',
modal: true,
Expand All @@ -1049,7 +1049,7 @@ function processChange() {
$('#modal').dialog("destroy");
processChange();
}else{ // failed to delete
$('#modaltext').html('AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>');
$('#modaltext').html("AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>");
$('#modal').dialog('option','buttons',cancelbutton);
revertdefault(row,true);
}
Expand All @@ -1062,7 +1062,7 @@ function processChange() {
$(this).dialog("destroy");
}
}
<?php echo " var modal=$('<div />', {id: 'modal', title: '".__("Custom Device Attribute Type Change Override")."'}).html('<div id=\"modaltext\">".__("This custom device attribute is in use somewhere. If you choose to change the attribute type, it will be cleared from all devices and device templates.")."</div>').dialog({"; ?>
<?php echo " var modal=$('<div />', {id: 'modal', title: \"".__("Custom Device Attribute Type Change Override")."\"}).html(\"<div id=\\\"modaltext\\\">".__("This custom device attribute is in use somewhere. If you choose to change the attribute type, it will be cleared from all devices and device templates.")."</div>\").dialog({"; ?>
dialogClass: 'no-close',
appendTo: 'body',
modal: true,
Expand Down Expand Up @@ -1148,7 +1148,7 @@ function removedca(row,lookup){
$(this).dialog("destroy");
}
}
<?php echo " var modal=$('<div />', {id: 'modal', title: '".__("Custom Device Attribute Delete Error")."'}).html('<div id=\"modaltext\">AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br>".__("Something just went horribly wrong.")."</div>').dialog({"; ?>
<?php echo " var modal=$('<div />', {id: 'modal', title: \"".__("Custom Device Attribute Delete Error")."\"}).html(\"<div id=\\\"modaltext\\\">AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br>".__("Something just went horribly wrong.")."</div>\").dialog({"; ?>
dialogClass: 'no-close',
appendTo: 'body',
modal: true,
Expand All @@ -1165,7 +1165,7 @@ function removedca(row,lookup){
$(this).remove();
});
}else{ // failed to delete
$('#modaltext').html('AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>');
$('#modaltext').html("AAAAAAAAAAHHHHHHHHHH!!! *crash* *fire* *chaos*<br><br><?php echo __("Something just went horribly wrong."); ?>");
$('#modal').dialog('option','buttons',cancelbutton);
}
});
Expand All @@ -1176,7 +1176,7 @@ function removedca(row,lookup){
$(this).dialog("destroy");
}
}
<?php echo " var modal=$('<div />', {id: 'modal', title: '".__("Custom Device Attribute Delete Override")."'}).html('<div id=\"modaltext\">".__("This custom device attribute is in use somewhere. If you choose to delete the attribute, it will be removed from all devices and device templates.")."</div>').dialog({"; ?>
<?php echo " var modal=$('<div />', {id: 'modal', title: \"".__("Custom Device Attribute Delete Override")."\"}).html(\"<div id=\\\"modaltext\\\">".__("This custom device attribute is in use somewhere. If you choose to delete the attribute, it will be removed from all devices and device templates.")."</div>\").dialog({"; ?>
dialogClass: 'no-close',
appendTo: 'body',
modal: true,
Expand Down
Binary file removed locale/az_AZ/LC_MESSAGES/openDCIM.mo
Binary file not shown.
Loading

0 comments on commit fe4cde7

Please sign in to comment.