core: Fix typos (found by codespell)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2016-04-04 10:57:17 +02:00 committed by Thomas Müller
parent e0bae32288
commit 62a5952a72
7 changed files with 9 additions and 9 deletions

View File

@ -84,7 +84,7 @@
}
#app-navigation .collapse {
display: none; /* hide collapse button intially */
display: none; /* hide collapse button initially */
}
#app-navigation .collapsible > .collapse {
position: absolute;

View File

@ -1,6 +1,6 @@
/*
* @name Show Password
* @descripton
* @description
* @version 1.3
* @requires Jquery 1.5
*

View File

@ -21,7 +21,7 @@
* This will make the div to jdoe's fitting avatar, with a size of 128px.
*
* 2. $('.avatardiv').avatar('jdoe');
* This will make the div to jdoe's fitting avatar. If the div aready has a
* This will make the div to jdoe's fitting avatar. If the div already has a
* height, it will be used for the avatars size. Otherwise this plugin will
* search for 'size' DOM data, to use for avatar size. If neither are available
* it will default to 64px.
@ -117,7 +117,7 @@
var img = new Image();
// If the new image loads successfull set it.
// If the new image loads successfully set it.
img.onload = function() {
$div.show();
$div.text('');

View File

@ -255,7 +255,7 @@ var OC={
*
* Examples:
* http://example.com => example.com
* https://example.com => exmaple.com
* https://example.com => example.com
* http://example.com:8080 => example.com:8080
*
* @return {string} host
@ -1510,7 +1510,7 @@ function initCore() {
initSessionHeartBeat();
}
if(!OC.Util.hasSVGSupport()){ //replace all svg images with png images for browser that dont support svg
if(!OC.Util.hasSVGSupport()){ //replace all svg images with png images for browser that don't support svg
OC.Util.replaceSVG();
}else{
SVGSupport.checkMimeType();

View File

@ -238,7 +238,7 @@
).fail(function() {
$loading.addClass('hidden');
$loading.removeClass('inlineblock');
OC.Notification.show(t('core', 'An error occured. Please try again'));
OC.Notification.show(t('core', 'An error occurred. Please try again'));
window.setTimeout(OC.Notification.hide, 5000);
});
},

View File

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
//some strings that are used in /lib but wont be translatable unless they are in /core too
//some strings that are used in /lib but won't be translatable unless they are in /core too
$l = \OC::$server->getL10N('core');
$l->t("Personal");
$l->t("Users");

View File

@ -27,7 +27,7 @@ script('core', [
<?php endforeach; ?>
<?php if (isset($_['internalexception']) && ($_['internalexception'])): ?>
<div class="warning">
<?php p($l->t('An internal error occured.')); ?><br>
<?php p($l->t('An internal error occurred.')); ?><br>
<small><?php p($l->t('Please try again or contact your administrator.')); ?></small>
</div>
<?php endif; ?>