<commit_before><?php
/**
 * ownCloud - ownmnote
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author <NAME> <<EMAIL>>
 * @copyright <NAME> 2015
 */

namespace OCA\OwnMNote\AppInfo;

if (\OCP\App::isEnabled('files_markdown')) {
    \OCP\App::registerAdmin('ownmnote', 'admin');

    \OCP\App::addNavigationEntry(array(
        // the string under which your app will be referenced in owncloud
        'id' => 'ownmnote',

        // sorting weight for the navigation. The higher the number, the higher
        // will it be listed in the navigation
        'order' => 10,

        // the route that will be shown on startup
        'href' => \OCP\Util::linkToRoute('ownmnote.page.index'),

        // the icon that will be shown in the navigation
        // this file needs to exist in img/
        'icon' => \OCP\Util::imagePath('ownmnote', 'app.svg'),

        // the title of your application. This will be used in the
        // navigation or on the settings page of your app
        //'name' => \OC_L10N::get('ownmnote')->t('Own Note')
        'name' => \OC_L10N::get('ownmnote')->t('Notes')
    ));
} else {
    $msg = 'Can not enable the OwnMarkdownNote app because the ownCloud Markdown App is disabled.';
    \OCP\Util::addScript('ownmnote', 'editor-missing');
    \OCP\Util::writeLog('ownmnote', $msg, \OCP\Util::ERROR);
}<commit_msg>Updated to 9.0<commit_after><?php
/**
 * ownCloud - ownmnote
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author <NAME> <<EMAIL>>
 * @copyright <NAME> 2015
 */

namespace OCA\OwnMNote\AppInfo;

$l = \OC::$server->getL10N('ownmnote');

if (\OCP\App::isEnabled('files_markdown')) {
    \OCP\App::registerAdmin('ownmnote', 'admin');

    \OCP\App::addNavigationEntry(array(
        // the string under which your app will be referenced in owncloud
        'id' => 'ownmnote',

        // sorting weight for the navigation. The higher the number, the higher
        // will it be listed in the navigation
        'order' => 10,

        // the route that will be shown on startup
        'href' => \OCP\Util::linkToRoute('ownmnote.page.index'),

        // the icon that will be shown in the navigation
        // this file needs to exist in img/
        'icon' => \OCP\Util::imagePath('ownmnote', 'app.svg'),

        // the title of your application. This will be used in the
        // navigation or on the settings page of your app
        //'name' => \OC_L10N::get('ownmnote')->t('Own Note')
        'name' => $l->t('Notes')
    ));
} else {
    $msg = 'Can not enable the OwnMarkdownNote app because the ownCloud Markdown App is disabled.';
    \OCP\Util::addScript('ownmnote', 'editor-missing');
    \OCP\Util::writeLog('ownmnote', $msg, \OCP\Util::ERROR);
}
{'fraction_non_alphanumeric': 0.14511041009463724, 'fraction_numerical': 0.008412197686645636, 'mean_word_length': 2.7701453104359315, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 28, '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': '2525080', 'n_tokens_mistral': 911, 'n_tokens_neox': 875, 'n_words': 286}