Changeset - 0070513bfa6a
[Not reviewed]
stable
0 6 0
Mads Kiilerich (mads) - 3 years ago 2022-12-12 21:02:30
mads@kiilerich.com
Grafted from: f540740259f0
summary: simplify README hover text

Avoid showing 'rev:tip' and avoid formatting in translated strings.
6 files changed with 1 insertions and 16 deletions:
0 comments (0 inline, 0 general)
kallithea/i18n/de/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -2433,53 +2433,50 @@ msgstr "Dateien"
 
msgid "Show more"
 
msgstr "Mehr anzeigen"
 

	
 
msgid "commits"
 
msgstr "Commits"
 

	
 
msgid "files added"
 
msgstr "Dateien hinzugefügt"
 

	
 
msgid "files changed"
 
msgstr "Dateien geändert"
 

	
 
msgid "files removed"
 
msgstr "Dateien entfernt"
 

	
 
msgid "commit"
 
msgstr "Commit"
 

	
 
msgid "file added"
 
msgstr "Datei hinzugefügt"
 

	
 
msgid "file changed"
 
msgstr "Datei geändert"
 

	
 
msgid "file removed"
 
msgstr "Datei entfernt"
 

	
 
msgid "Clone from"
 
msgstr "Clone von"
 

	
 
msgid "Clone URL"
 
msgstr "Clone-URL"
 

	
 
msgid "Download as zip"
 
msgstr "Herunterladen als zip"
 

	
 
msgid "Feed"
 
msgstr "Feed"
 

	
 
msgid "Latest Changes"
 
msgstr "Letzte Änderungen"
 

	
 
msgid "Quick Start"
 
msgstr "Schnelleinstieg"
 

	
 
msgid "Add or upload files directly via Kallithea"
 
msgstr "Dateien direkt über Kallithea hinzufügen oder hochladen"
 

	
 
msgid "Readme file from revision %s:%s"
 
msgstr "Liesmich-Datei von Revision %s:%s"
 

	
 
msgid "Download %s as %s"
 
msgstr "%s als %s herunterladen"
kallithea/i18n/el/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -3665,53 +3665,50 @@ msgstr "Χρήση ID"
 
msgid "Use SSH"
 
msgstr "Χρήση SSH"
 

	
 
msgid "Use Name"
 
msgstr "Χρήση Ονόματος"
 

	
 
msgid "Use HTTP"
 
msgstr "Χρήση HTTP"
 

	
 
msgid "Trending files"
 
msgstr "Δημοφιλή αρχεία"
 

	
 
msgid "Download"
 
msgstr "Λήψη"
 

	
 
msgid "There are no downloads yet"
 
msgstr "Δεν υπάρχουν λήψεις ακόμα"
 

	
 
msgid "Downloads are disabled for this repository"
 
msgstr "Οι λήψεις είναι απενεργοποιημένες για αυτό το αποθετήριο"
 

	
 
msgid "Download as zip"
 
msgstr "Λήψη ως zip"
 

	
 
msgid "Check this to download archive with subrepos"
 
msgstr "Επιλέξτε αυτό για τη λήψη του αρχείου με τα υπο-αποθετήρια"
 

	
 
msgid "With subrepos"
 
msgstr "Με υπο-αποθετήρια"
 

	
 
msgid "Feed"
 
msgstr "Ροή"
 

	
 
msgid "Latest Changes"
 
msgstr "Τελευταίες Αλλαγές"
 

	
 
msgid "Quick Start"
 
msgstr "Γρήγορη Εκκίνηση"
 

	
 
msgid "Add or upload files directly via Kallithea"
 
msgstr "Προσθέστε ή ανεβάστε αρχεία απευθείας μέσω Καλλιθέας"
 

	
 
msgid "Push new repository"
 
msgstr "Ώθηση νέου αποθετηρίου"
 

	
 
msgid "Existing repository?"
 
msgstr "Υπάρχον αποθετήριο;"
 

	
 
msgid "Readme file from revision %s:%s"
 
msgstr "Αρχείο Readme από την αναθεώρηση %s:%s"
 

	
 
msgid "Download %s as %s"
 
msgstr "Λήψη %s ως %s"
kallithea/i18n/fr/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -3700,53 +3700,50 @@ msgid "Use SSH"
 
msgstr "Utiliser SSH"
 

	
 
msgid "Use Name"
 
msgstr "Utiliser le nom"
 

	
 
msgid "Use HTTP"
 
msgstr "Utiliser HTTP"
 

	
 
msgid "Trending files"
 
msgstr "Populaires"
 

	
 
msgid "Download"
 
msgstr "Télécharger"
 

	
 
msgid "There are no downloads yet"
 
msgstr "Il n’y a pas encore de téléchargements proposés"
 

	
 
msgid "Downloads are disabled for this repository"
 
msgstr "Les téléchargements sont désactivés pour ce dépôt"
 

	
 
msgid "Download as zip"
 
msgstr "Télécharger en ZIP"
 

	
 
msgid "Check this to download archive with subrepos"
 
msgstr ""
 
"Télécharger une archive contenant également les sous-dépôts éventuels"
 

	
 
msgid "With subrepos"
 
msgstr "Avec les sous-dépôts"
 

	
 
msgid "Feed"
 
msgstr "Flux"
 

	
 
msgid "Latest Changes"
 
msgstr "Derniers changements"
 

	
 
msgid "Quick Start"
 
msgstr "Démarrage rapide"
 

	
 
msgid "Add or upload files directly via Kallithea"
 
msgstr "Ajouter ou téléverser des fichiers directement via Kallithea"
 

	
 
msgid "Push new repository"
 
msgstr "Pusher le nouveau dépôt"
 

	
 
msgid "Existing repository?"
 
msgstr "Le dépôt existe déjà ?"
 

	
 
msgid "Readme file from revision %s:%s"
 
msgstr "Fichier Lisez-moi de la revision %s:%s"
 

	
 
msgid "Download %s as %s"
 
msgstr "Télécharge %s comme %s"
kallithea/i18n/ja/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -2693,53 +2693,50 @@ msgstr "%s 要約"
 
msgid "Fork of"
 
msgstr "フォーク元"
 

	
 
msgid "Clone from"
 
msgstr "クローン元"
 

	
 
msgid "Clone URL"
 
msgstr "クローンURL"
 

	
 
msgid "Trending files"
 
msgstr "トレンドファイル"
 

	
 
msgid "Download"
 
msgstr "ダウンロード"
 

	
 
msgid "There are no downloads yet"
 
msgstr "まだダウンロードがありません"
 

	
 
msgid "Downloads are disabled for this repository"
 
msgstr "このリポジトリのダウンロードは無効化されています"
 

	
 
msgid "Download as zip"
 
msgstr "ZIPでダウンロード"
 

	
 
msgid "Check this to download archive with subrepos"
 
msgstr "チェックするとダウンロードアーカイブにサブリポジトリが含まれます"
 

	
 
msgid "With subrepos"
 
msgstr "サブリポジトリを含める"
 

	
 
msgid "Feed"
 
msgstr "フィード"
 

	
 
msgid "Latest Changes"
 
msgstr "最近の変更"
 

	
 
msgid "Quick Start"
 
msgstr "クイックスタート"
 

	
 
msgid "Add or upload files directly via Kallithea"
 
msgstr "Kallithea経由で直接ファイルを追加またはアップロード"
 

	
 
msgid "Push new repository"
 
msgstr "新しいリポジトリをプッシュ"
 

	
 
msgid "Existing repository?"
 
msgstr "存在するリポジトリをプッシュ"
 

	
 
msgid "Readme file from revision %s:%s"
 
msgstr "リビジョン %s:%s の README ファイル"
 

	
 
msgid "Download %s as %s"
 
msgstr "%s を %s でダウンロード"
kallithea/i18n/ru/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -3540,53 +3540,50 @@ msgstr "Использовать ID"
 
msgid "Use SSH"
 
msgstr "Использовать SSH"
 

	
 
msgid "Use Name"
 
msgstr "Использовать имя"
 

	
 
msgid "Use HTTP"
 
msgstr "Использовать HTTP"
 

	
 
msgid "Trending files"
 
msgstr "Популярные файлы"
 

	
 
msgid "Download"
 
msgstr "Скачать"
 

	
 
msgid "There are no downloads yet"
 
msgstr "Скачиваний ещё нет"
 

	
 
msgid "Downloads are disabled for this repository"
 
msgstr "Скачивание отключено в этом репозитории"
 

	
 
msgid "Download as zip"
 
msgstr "Скачать в zip"
 

	
 
msgid "Check this to download archive with subrepos"
 
msgstr "Отметьте для скачивания архива с дочерними репозиториями"
 

	
 
msgid "With subrepos"
 
msgstr "С дочерними репозиториями"
 

	
 
msgid "Feed"
 
msgstr "Лента новостей"
 

	
 
msgid "Latest Changes"
 
msgstr "Последние изменения"
 

	
 
msgid "Quick Start"
 
msgstr "Быстрый старт"
 

	
 
msgid "Add or upload files directly via Kallithea"
 
msgstr "Добавить или загрузить файлы через Kallithea"
 

	
 
msgid "Push new repository"
 
msgstr "Отправить новый репозиторий"
 

	
 
msgid "Existing repository?"
 
msgstr "Существующий репозиторий?"
 

	
 
msgid "Readme file from revision %s:%s"
 
msgstr "Файл readme из ревизии %s:%s"
 

	
 
msgid "Download %s as %s"
 
msgstr "Скачать %s как %s"
kallithea/templates/summary/summary.html
Show inline comments
 
@@ -179,97 +179,97 @@ ${self.repo_context_bar('summary')}
 
        %if c.cs_pagination:
 
            ${h.link_to(_('Latest Changes'),h.url('changelog_home',repo_name=c.repo_name))}
 
        %else:
 
            ${_('Quick Start')}
 
        %endif
 
        </div>
 
    </div>
 
    <div class="panel-body">
 
        <div id="shortlog_data">
 
            %if c.cs_pagination:
 
                ${changelog_table.changelog(c.repo_name, c.cs_pagination, c.cs_statuses, c.cs_comments, show_checkbox=False)}
 
                ${c.cs_pagination.pager()}
 
            %else:
 
                %if h.HasRepoPermissionLevel('write')(c.repo_name):
 
                <h4>${_('Add or upload files directly via Kallithea')}</h4>
 
                <div>
 
                  <div id="add_node_id" class="add_node">
 
                      <a class="btn btn-default btn-xs" href="${h.url('files_add_home',repo_name=c.repo_name,revision=0,f_path='', anchor='edit')}">${_('Add New File')}</a>
 
                  </div>
 
                </div>
 
                %endif
 

	
 
                <h4>${_('Push new repository')}</h4>
 
                <pre>
 
${c.db_repo_scm_instance.alias} clone ${c.clone_repo_url}
 
${c.db_repo_scm_instance.alias} add README # add first file
 
${c.db_repo_scm_instance.alias} commit -m "Initial" # commit with message
 
${c.db_repo_scm_instance.alias} push ${'origin master' if c.db_repo_scm_instance.alias == 'git' else ''} # push changes back
 
                </pre>
 

	
 
                <h4>${_('Existing repository?')}</h4>
 
                <pre>
 
                %if c.db_repo_scm_instance.alias == 'git':
 
git remote add origin ${c.clone_repo_url}
 
git push -u origin master
 
                %else:
 
hg push ${c.clone_repo_url}
 
                %endif
 
                </pre>
 
            %endif
 
        </div>
 
    </div>
 
</div>
 

	
 
%if c.readme_data:
 
<div id="readme" class="anchor">
 
</div>
 
<div class="panel panel-primary">
 
    <div class="panel-heading" title="${_('Readme file from revision %s:%s') % (c.db_repo.landing_rev[0], c.db_repo.landing_rev[1])}">
 
    <div class="panel-heading" title="${_('Readme file from %s') % (c.db_repo.landing_rev[1])}">
 
        <div class="panel-title">
 
            <a href="${h.url('files_home',repo_name=c.repo_name,revision='tip',f_path=c.readme_file)}">${c.readme_file}</a>
 
        </div>
 
    </div>
 
    <div class="readme panel-body">
 
        ${c.readme_data|n}
 
    </div>
 
</div>
 
%endif
 

	
 
<script>
 
'use strict';
 
$(document).ready(function(){
 
    $('#clone-url input').click(function(){
 
        if($(this).hasClass('selected')){
 
            $(this).removeClass('selected');
 
            return ;
 
        }else{
 
            $(this).addClass('selected');
 
            $(this).select();
 
        }
 
    });
 

	
 
    var $clone_url = $('#clone-url');
 
    var $clone_by_name = $('#clone_by_name');
 
    var $clone_by_id = $('#clone_by_id');
 
    var $clone_ssh = $('#clone_ssh');
 
    $clone_url.on('click', '.btn.use-name', function(){
 
        $clone_by_name.show();
 
        $clone_by_id.hide();
 
        $clone_ssh.hide();
 
    });
 
    $clone_url.on('click', '.btn.use-id', function(){
 
        $clone_by_id.show();
 
        $clone_by_name.hide();
 
        $clone_ssh.hide();
 
    });
 
    $clone_url.on('click', '.btn.use-ssh', function(){
 
        $clone_by_id.hide();
 
        $clone_by_name.hide();
 
        $clone_ssh.show();
 
    });
 

	
 
    var cache = {}
 
    $("#download_options").select2({
 
        placeholder: _TM['Select changeset'],
 
        dropdownAutoWidth: true,
 
        query: function(query){
0 comments (0 inline, 0 general)