<commit_before>﻿@model Orchard.Core.Localization.ViewModels.EditLocalizationViewModel
@Style.Require("LocalizationAdmin");
@if (Model.ContentItem.ContentItem.Id > 0 && Model.SelectedCulture != null && Model.ContentLocalizations.Localizations.Count() > 0) {
Style.Require("Localization");
<fieldset class="localization culture-selection">
    <fieldset class="culture-selected">
        <label for="SelectedCulture">@T("Content Localization")</label>
        <div>@T("This is the <em>{0}</em> variation of {1}.",
                            Html.Encode(Model.SelectedCulture),
                            Html.ItemEditLink(Model.MasterContentItem ?? Model.ContentItem))</div>
           @Html.Hidden("SelectedCulture", Model.SelectedCulture)
    </fieldset>
    @if (Model.ContentLocalizations.Localizations.Count() > 0) {
    <dl class="content-localization">
        <dt>@T("Other translations:")</dt>
        <dd class="content-localizations">
            @Html.UnorderedList(Model.ContentLocalizations.Localizations, (c, i) => Html.ItemEditLink(c.Culture.Culture, c), "localizations")
        </dd>
    </dl>
    }
</fieldset>}<commit_msg>Fixing a Style.Require in a Core.Localization template<commit_after>﻿@model Orchard.Core.Localization.ViewModels.EditLocalizationViewModel
@if (Model.ContentItem.ContentItem.Id > 0 && Model.SelectedCulture != null && Model.ContentLocalizations.Localizations.Count() > 0) {
Style.Require("Localization");
Style.Require("LocalizationAdmin");
<fieldset class="localization culture-selection">
    <fieldset class="culture-selected">
        <label for="SelectedCulture">@T("Content Localization")</label>
        <div>@T("This is the <em>{0}</em> variation of {1}.",
                            Html.Encode(Model.SelectedCulture),
                            Html.ItemEditLink(Model.MasterContentItem ?? Model.ContentItem))</div>
           @Html.Hidden("SelectedCulture", Model.SelectedCulture)
    </fieldset>
    @if (Model.ContentLocalizations.Localizations.Count() > 0) {
    <dl class="content-localization">
        <dt>@T("Other translations:")</dt>
        <dd class="content-localizations">
            @Html.UnorderedList(Model.ContentLocalizations.Localizations, (c, i) => Html.ItemEditLink(c.Culture.Culture, c), "localizations")
        </dd>
    </dl>
    }
</fieldset>}
{'fraction_non_alphanumeric': 0.1527538726333907, 'fraction_numerical': 0.004302925989672977, 'mean_word_length': 3.659318637274549, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2774978', 'n_tokens_mistral': 672, 'n_tokens_neox': 654, 'n_words': 105}