Fixing that some files had line endings mixed up (both LF and CRLF)

This commit is contained in:
Lombiq
2015-12-03 00:00:36 +01:00
parent c2dd09af5e
commit 15d27043d7
23 changed files with 1905 additions and 1904 deletions

View File

@@ -26,10 +26,10 @@ namespace Orchard.Azure.Services.FileSystems.Media {
public bool TrySaveStream(string path, Stream inputStream) {
try {
if (FileExists(path)) {
return false;
}
if (FileExists(path)) {
return false;
}
SaveStream(path, inputStream);
}
catch {

View File

@@ -84,10 +84,10 @@ namespace Orchard.Blogs {
.WithPart("CommonPart")
.WithPart("WidgetPart")
.WithSetting("Stereotype", "Widget")
.WithPart("IdentityPart")
.WithPart("IdentityPart")
);
return 7;
return 7;
}
public int UpdateFrom1() {
@@ -134,14 +134,14 @@ namespace Orchard.Blogs {
return 6;
}
public int UpdateFrom6() {
ContentDefinitionManager.AlterTypeDefinition("BlogArchives",
cfg => cfg
.WithPart("IdentityPart")
);
return 7;
}
public int UpdateFrom6() {
ContentDefinitionManager.AlterTypeDefinition("BlogArchives",
cfg => cfg
.WithPart("IdentityPart")
);
return 7;
}
}
}

View File

@@ -10,8 +10,8 @@
<Place Parts_Image_Editor_CropOptions="Options"/>
<Place Parts_Image_Editor_Resize="Buttons:6"/>
<Place Parts_Image_Editor_ResizeOptions="Options"/>
<Place Parts_Image_Editor_Rotate="Buttons:7"/>
<Place Parts_Image_Editor_RotateOptions="Options"/>
<Place Parts_Image_Editor_Rotate="Buttons:7"/>
<Place Parts_Image_Editor_RotateOptions="Options"/>
<Place Parts_Image_Editor_Filter="Buttons:7"/>
<Place Parts_Image_Editor_FilterOptions="Options"/>

View File

@@ -568,20 +568,20 @@
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target> -->
<Target Name="AfterBuild" DependsOnTargets="AfterBuildCompiler">
<PropertyGroup>
<AreasManifestDir>$(ProjectDir)\..\Manifests</AreasManifestDir>
</PropertyGroup>
<!-- If this is an area child project, uncomment the following line:
<CreateAreaManifest AreaName="$(AssemblyName)" AreaType="Child" AreaPath="$(ProjectDir)" ManifestPath="$(AreasManifestDir)" ContentFiles="@(Content)" />
<!-- If this is an area child project, uncomment the following line:
<CreateAreaManifest AreaName="$(AssemblyName)" AreaType="Child" AreaPath="$(ProjectDir)" ManifestPath="$(AreasManifestDir)" ContentFiles="@(Content)" />
-->
<!-- If this is an area parent project, uncomment the following lines:
<CreateAreaManifest AreaName="$(AssemblyName)" AreaType="Parent" AreaPath="$(ProjectDir)" ManifestPath="$(AreasManifestDir)" ContentFiles="@(Content)" />
<CopyAreaManifests ManifestPath="$(AreasManifestDir)" CrossCopy="false" RenameViews="true" />
<!-- If this is an area parent project, uncomment the following lines:
<CreateAreaManifest AreaName="$(AssemblyName)" AreaType="Parent" AreaPath="$(ProjectDir)" ManifestPath="$(AreasManifestDir)" ContentFiles="@(Content)" />
<CopyAreaManifests ManifestPath="$(AreasManifestDir)" CrossCopy="false" RenameViews="true" />
-->
</Target>
<Target Name="AfterBuildCompiler" Condition="'$(MvcBuildViews)'=='true'">

View File

@@ -23,5 +23,6 @@
};
//]]>
</script>
</script>
}

View File

@@ -68,8 +68,8 @@ namespace Orchard.Setup.Annotations {
if (string.IsNullOrEmpty(_value))
return T("Password is required.").Text;
return _value.Length < (int)Minimum
? T("Password must be at least {0} characters.", Minimum).Text
return _value.Length < (int)Minimum
? T("Password must be at least {0} characters.", Minimum).Text
: T("Password can be no longer than {0} characters.", Maximum).Text;
}
}

View File

@@ -25,27 +25,27 @@
}
});
jQuery.fn.extend({
tokenized : function () {
return $(this).each(function () {
var _this = $(this);
jQuery.fn.extend({
tokenized : function () {
return $(this).each(function () {
var _this = $(this);
// add an icon to tokenized inputs
_this.wrap('<span class="token-wrapper"></span>');
var popup = $('<div><span class="tokenized-popup">&nbsp;</span></div>')
_this.parent().prepend(popup);
// show the full list of tokens when the icon is clicked
popup.children('.tokenized-popup').click(function () {
var input = $(this).parent().next();
// pass empty string as value to search for, displaying all results
input.autocomplete("search", "");
input.focus();
});
$(this).autocomplete({
// add an icon to tokenized inputs
_this.wrap('<span class="token-wrapper"></span>');
var popup = $('<div><span class="tokenized-popup">&nbsp;</span></div>')
_this.parent().prepend(popup);
// show the full list of tokens when the icon is clicked
popup.children('.tokenized-popup').click(function () {
var input = $(this).parent().next();
// pass empty string as value to search for, displaying all results
input.autocomplete("search", "");
input.focus();
});
$(this).autocomplete({
minLength: 0,
source: $.tokens,
source: $.tokens,
select: function (event, ui) {
$(this).insertAtCaret(ui.item.value);
return false;
@@ -62,18 +62,18 @@ jQuery.fn.extend({
.appendTo(ul);
};
});
});
},
});
});
},
});
$(function() {
$(function() {
$.tokens = {};
$.tokens = {};
// provide autocomplete behavior to tokenized inputs
// tokensUrl is initialized from the view
$.get(tokensUrl, function (data) {
$.tokens = data;
$('.tokenized').tokenized();
// provide autocomplete behavior to tokenized inputs
// tokensUrl is initialized from the view
$.get(tokensUrl, function (data) {
$.tokens = data;
$('.tokenized').tokenized();
});
});

View File

@@ -284,4 +284,4 @@
.dir-rtl .toolbox-event div {
margin-left: inherit;
margin-right: 36px;
}
}

View File

@@ -1,5 +1,5 @@
/* http://keith-wood.name/calendars.html
Montenegrin localisation for Gregorian/Julian calendars for jQuery.
Montenegrin localisation for Gregorian/Julian calendars for jQuery.
By Miloš Milošević - fleka d.o.o. */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['me'] = {

View File

@@ -1014,7 +1014,7 @@
}
})(jQuery);
/* http://keith-wood.name/calendars.html
Montenegrin localisation for Gregorian/Julian calendars for jQuery.
Montenegrin localisation for Gregorian/Julian calendars for jQuery.
By Miloš Milošević - fleka d.o.o. */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['me-ME'] = {
@@ -1037,7 +1037,7 @@
}
})(jQuery);
/* http://keith-wood.name/calendars.html
Montenegrin localisation for Gregorian/Julian calendars for jQuery.
Montenegrin localisation for Gregorian/Julian calendars for jQuery.
By Miloš Milošević - fleka d.o.o. */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['me'] = {

View File

@@ -933,48 +933,48 @@
};
$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lv']);
})(jQuery);
/* http://keith-wood.name/calendars.html
Montenegrin localisation for calendars datepicker for jQuery.
Written by Miloš Milošević - fleka d.o.o. */
(function($) {
$.calendarsPicker.regionalOptions['me-ME'] = {
renderer: $.calendarsPicker.defaultRenderer,
prevText: '&#x3c;', prevStatus: 'Prikaži prethodni mjesec',
prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: 'Prikaži prethodnu godinu',
nextText: '&#x3e;', nextStatus: 'Prikaži sljedeći mjesec',
nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: 'Prikaži sljedeću godinu',
currentText: 'Danas', currentStatus: 'Tekući mjesec',
todayText: 'Danas', todayStatus: 'Tekući mjesec',
clearText: 'Obriši', clearStatus: 'Obriši trenutni datum',
closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mjesece',
weekText: 'Sed', weekStatus: 'Sedmica',
dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
isRTL: false
};
$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me-ME']);
})(jQuery);
/* http://keith-wood.name/calendars.html
Montenegrin localisation for calendars datepicker for jQuery.
Written by Miloš Milošević - fleka d.o.o. */
(function($) {
$.calendarsPicker.regionalOptions['me'] = {
renderer: $.calendarsPicker.defaultRenderer,
prevText: '&#x3c;', prevStatus: 'Прикажи претходни мјесец',
prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: 'Прикажи претходну годину',
nextText: '&#x3e;', nextStatus: 'Прикажи сљедећи мјесец',
nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: 'Прикажи сљедећу годину',
currentText: 'Данас', currentStatus: 'Текући мјесец',
todayText: 'Данас', todayStatus: 'Текући мјесец',
clearText: 'Обриши', clearStatus: 'Обриши тренутни датум',
closeText: 'Затвори', closeStatus: 'Затвори календар',
yearStatus: 'Прикажи године', monthStatus: 'Прикажи мјесеце',
weekText: 'Сед', weekStatus: 'Седмица',
dayStatus: '\'Датум\' DD d MM', defaultStatus: 'Одабери датум',
isRTL: false
};
$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me']);
})(jQuery);
/* http://keith-wood.name/calendars.html
Montenegrin localisation for calendars datepicker for jQuery.
Written by Miloš Milošević - fleka d.o.o. */
(function($) {
$.calendarsPicker.regionalOptions['me-ME'] = {
renderer: $.calendarsPicker.defaultRenderer,
prevText: '&#x3c;', prevStatus: 'Prikaži prethodni mjesec',
prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: 'Prikaži prethodnu godinu',
nextText: '&#x3e;', nextStatus: 'Prikaži sljedeći mjesec',
nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: 'Prikaži sljedeću godinu',
currentText: 'Danas', currentStatus: 'Tekući mjesec',
todayText: 'Danas', todayStatus: 'Tekući mjesec',
clearText: 'Obriši', clearStatus: 'Obriši trenutni datum',
closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mjesece',
weekText: 'Sed', weekStatus: 'Sedmica',
dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
isRTL: false
};
$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me-ME']);
})(jQuery);
/* http://keith-wood.name/calendars.html
Montenegrin localisation for calendars datepicker for jQuery.
Written by Miloš Milošević - fleka d.o.o. */
(function($) {
$.calendarsPicker.regionalOptions['me'] = {
renderer: $.calendarsPicker.defaultRenderer,
prevText: '&#x3c;', prevStatus: 'Прикажи претходни мјесец',
prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: 'Прикажи претходну годину',
nextText: '&#x3e;', nextStatus: 'Прикажи сљедећи мјесец',
nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: 'Прикажи сљедећу годину',
currentText: 'Данас', currentStatus: 'Текући мјесец',
todayText: 'Данас', todayStatus: 'Текући мјесец',
clearText: 'Обриши', clearStatus: 'Обриши тренутни датум',
closeText: 'Затвори', closeStatus: 'Затвори календар',
yearStatus: 'Прикажи године', monthStatus: 'Прикажи мјесеце',
weekText: 'Сед', weekStatus: 'Седмица',
dayStatus: '\'Датум\' DD d MM', defaultStatus: 'Одабери датум',
isRTL: false
};
$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me']);
})(jQuery);
/* http://keith-wood.name/calendars.html
Македонски MK localisation for calendars datepicker for jQuery.
Hajan Selmani (hajan [at] live [dot] com). */

View File

@@ -1,5 +1,5 @@
/* http://keith-wood.name/calendars.html
Arabic localisation for UmmAlQura calendar for jQuery v2.0.0.
/* http://keith-wood.name/calendars.html
Arabic localisation for UmmAlQura calendar for jQuery v2.0.0.
Written by Amro Osama March 2013. */
(function ($) {
$.calendars.calendars.ummalqura.prototype.regionalOptions['ar'] = {
@@ -14,4 +14,4 @@
firstDay: 6, // The first day of the week, Sat = 0, Sun = 1, ...
isRTL: true // True if right-to-left language, false if left-to-right
};
})(jQuery);
})(jQuery);