diff --git a/kallithea/templates/admin/auth/auth_settings.html b/kallithea/templates/admin/auth/auth_settings.html --- a/kallithea/templates/admin/auth/auth_settings.html +++ b/kallithea/templates/admin/auth/auth_settings.html @@ -37,7 +37,7 @@
  • - ${_('enabled') if plugin_path in c.enabled_plugins else _('disabled')}${plugin_path} + ${_('Enabled') if plugin_path in c.enabled_plugins else _('Disabled')}${plugin_path}
  • %endfor diff --git a/kallithea/templates/admin/gists/edit.html b/kallithea/templates/admin/gists/edit.html --- a/kallithea/templates/admin/gists/edit.html +++ b/kallithea/templates/admin/gists/edit.html @@ -58,7 +58,7 @@ ${h.select('lifetime', '0', c.lifetime_options)} %if c.gist.gist_expires == -1: - ${_('Expires')}: ${_('never')} + ${_('Expires')}: ${_('Never')} %else: ${_('Expires')}: ${h.age(h.time_to_datetime(c.gist.gist_expires))} %endif diff --git a/kallithea/templates/admin/gists/index.html b/kallithea/templates/admin/gists/index.html --- a/kallithea/templates/admin/gists/index.html +++ b/kallithea/templates/admin/gists/index.html @@ -54,7 +54,7 @@ ${_('Created')} ${h.age(gist.created_on)} / %if gist.gist_expires == -1: - ${_('Expires')}: ${_('never')} + ${_('Expires')}: ${_('Never')} %else: ${_('Expires')}: ${h.age(h.time_to_datetime(gist.gist_expires))} %endif diff --git a/kallithea/templates/admin/gists/show.html b/kallithea/templates/admin/gists/show.html --- a/kallithea/templates/admin/gists/show.html +++ b/kallithea/templates/admin/gists/show.html @@ -44,7 +44,7 @@
    %if c.gist.gist_expires == -1: - ${_('Expires')}: ${_('never')} + ${_('Expires')}: ${_('Never')} %else: ${_('Expires')}: ${h.age(h.time_to_datetime(c.gist.gist_expires))} %endif diff --git a/kallithea/templates/admin/my_account/my_account_api_keys.html b/kallithea/templates/admin/my_account/my_account_api_keys.html --- a/kallithea/templates/admin/my_account/my_account_api_keys.html +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html @@ -5,14 +5,14 @@ ${_('Built-in')} - ${_('expires')}: ${_('never')} + ${_('Expires')}: ${_('Never')} ${h.form(url('my_account_api_keys'),method='delete')} ${h.hidden('del_api_key',c.user.api_key)} ${h.hidden('del_api_key_builtin',1)} ${h.end_form()} @@ -24,12 +24,12 @@ ${api_key.description} %if api_key.expires == -1: - ${_('expires')}: ${_('never')} + ${_('Expires')}: ${_('Never')} %else: %if api_key.expired: - ${_('expired')}: ${h.age(h.time_to_datetime(api_key.expires))} + ${_('Expired')}: ${h.age(h.time_to_datetime(api_key.expires))} %else: - ${_('expires')}: ${h.age(h.time_to_datetime(api_key.expires))} + ${_('Expires')}: ${h.age(h.time_to_datetime(api_key.expires))} %endif %endif @@ -39,7 +39,7 @@ ${h.end_form()} diff --git a/kallithea/templates/admin/my_account/my_account_profile.html b/kallithea/templates/admin/my_account/my_account_profile.html --- a/kallithea/templates/admin/my_account/my_account_profile.html +++ b/kallithea/templates/admin/my_account/my_account_profile.html @@ -13,7 +13,7 @@ ${h.form(url('my_account'), method='post %else: ${_('Avatars are disabled')}
    ${c.user.email or _('Missing email, please update your user email address.')} - [${_('current IP')}: ${c.perm_user.ip_addr or "?"}] + [${_('Current IP')}: ${c.perm_user.ip_addr or "?"}] %endif

    diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html @@ -4,11 +4,11 @@ ${h.form(url('edit_repo_group_perms', gr
    - - - - - + + + + + ## USERS @@ -31,7 +31,7 @@ ${h.form(url('edit_repo_group_perms', gr @@ -44,7 +44,7 @@ ${h.form(url('edit_repo_group_perms', gr ${h.gravatar(r2p.user.email, cls="perm-gravatar", size=14)} ${r2p.user.username if r2p.user.username != 'default' else _('default')} - + %endif %endfor @@ -68,7 +68,7 @@ ${h.form(url('edit_repo_group_perms', gr @@ -100,7 +100,7 @@ ${h.form(url('edit_repo_group_perms', gr
    ${_('none')}${_('read')}${_('write')}${_('admin')}${_('user/user group')}${_('None')}${_('Read')}${_('Write')}${_('Admin')}${_('User/User Group')}
    %if r2p.user.username !='default': - ${_('revoke')} + ${_('Revoke')} %endif ${_('delegated admin')} ${_('Delegated Admin')}
    - ${_('revoke')} + ${_('Revoke')}
    - ${_('apply to children')}: + ${_('Apply to children')}: ${h.radio('recursive', 'none', label=_('None'), checked="checked")} ${h.radio('recursive', 'groups', label=_('Repository Groups'))} ${h.radio('recursive', 'repos', label=_('Repositories'))} diff --git a/kallithea/templates/admin/repos/repo_edit_permissions.html b/kallithea/templates/admin/repos/repo_edit_permissions.html --- a/kallithea/templates/admin/repos/repo_edit_permissions.html +++ b/kallithea/templates/admin/repos/repo_edit_permissions.html @@ -5,11 +5,11 @@ ${h.form(url('edit_repo_perms_update', r ${h.hidden('repo_private')} - - - - - + + + + + ## USERS @@ -18,10 +18,10 @@ ${h.form(url('edit_repo_perms_update', r - + %else: @@ -40,7 +40,7 @@ ${h.form(url('edit_repo_perms_update', r @@ -65,7 +65,7 @@ ${h.form(url('edit_repo_perms_update', r diff --git a/kallithea/templates/admin/repos/repo_edit_settings.html b/kallithea/templates/admin/repos/repo_edit_settings.html --- a/kallithea/templates/admin/repos/repo_edit_settings.html +++ b/kallithea/templates/admin/repos/repo_edit_settings.html @@ -24,7 +24,7 @@ ${h.form(url('repo', repo_name=c.repo_in %if c.repo_info.clone_uri:
    ${c.repo_info.clone_uri_hidden} - ${_('edit')} + ${_('Edit')}
    diff --git a/kallithea/templates/admin/user_groups/user_group_edit_perms.html b/kallithea/templates/admin/user_groups/user_group_edit_perms.html --- a/kallithea/templates/admin/user_groups/user_group_edit_perms.html +++ b/kallithea/templates/admin/user_groups/user_group_edit_perms.html @@ -4,11 +4,11 @@ ${h.form(url('edit_user_group_perms', id
    ${_('none')}${_('read')}${_('write')}${_('admin')}${_('user/user group')}${_('None')}${_('Read')}${_('Write')}${_('Admin')}${_('User/User Group')}
    - ${_('private repository')} + ${_('Private Repository')} ${_('default')} ${_('Default')}
    %if r2p.user.username !='default': - ${_('revoke')} + ${_('Revoke')} %endif - ${_('revoke')} + ${_('Revoke')}
    - - - - - + + + + + ## USERS @@ -31,7 +31,7 @@ ${h.form(url('edit_user_group_perms', id @@ -44,7 +44,7 @@ ${h.form(url('edit_user_group_perms', id ${h.gravatar(r2p.user.email, cls="perm-gravatar", size=14)} ${r2p.user.username if r2p.user.username != 'default' else _('default')} - + %endif %endfor @@ -68,7 +68,7 @@ ${h.form(url('edit_user_group_perms', id diff --git a/kallithea/templates/admin/user_groups/user_groups.html b/kallithea/templates/admin/user_groups/user_groups.html --- a/kallithea/templates/admin/user_groups/user_groups.html +++ b/kallithea/templates/admin/user_groups/user_groups.html @@ -7,7 +7,7 @@ <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} » 0 ${_('user groups')} + ${h.link_to(_('Admin'),h.url('admin_home'))} » 0 ${_('User Groups')} <%block name="header_menu"> diff --git a/kallithea/templates/admin/users/user_edit_api_keys.html b/kallithea/templates/admin/users/user_edit_api_keys.html --- a/kallithea/templates/admin/users/user_edit_api_keys.html +++ b/kallithea/templates/admin/users/user_edit_api_keys.html @@ -5,14 +5,14 @@ - + @@ -24,12 +24,12 @@ @@ -39,7 +39,7 @@ ${h.end_form()} diff --git a/kallithea/templates/admin/users/user_edit_profile.html b/kallithea/templates/admin/users/user_edit_profile.html --- a/kallithea/templates/admin/users/user_edit_profile.html +++ b/kallithea/templates/admin/users/user_edit_profile.html @@ -12,7 +12,7 @@ ${h.form(url('update_user', id=c.user.us
    ${c.user.email or _('Missing email, please update this user email address.')} ##show current ip just if we show ourself %if c.authuser.username == c.user.username: - [${_('current IP')}: ${c.perm_user.ip_addr or "?"}] + [${_('Current IP')}: ${c.perm_user.ip_addr or "?"}] %endif %endif diff --git a/kallithea/templates/base/perms_summary.html b/kallithea/templates/base/perms_summary.html --- a/kallithea/templates/base/perms_summary.html +++ b/kallithea/templates/base/perms_summary.html @@ -10,11 +10,11 @@ ${section.replace("_"," ").capitalize()} %if section != 'global':
    - ${_('show')}: - ${h.checkbox('perms_filter_none_%s' % section, 'none', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='none')} - ${h.checkbox('perms_filter_read_%s' % section, 'read', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='read')} - ${h.checkbox('perms_filter_write_%s' % section, 'write', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='write')} - ${h.checkbox('perms_filter_admin_%s' % section, 'admin', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='admin')} + ${_('Show')}: + ${h.checkbox('perms_filter_none_%s' % section, 'none', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='none')} + ${h.checkbox('perms_filter_read_%s' % section, 'read', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='read')} + ${h.checkbox('perms_filter_write_%s' % section, 'write', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='write')} + ${h.checkbox('perms_filter_admin_%s' % section, 'admin', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='admin')}
    %endif @@ -40,7 +40,7 @@ %if actions: %endif @@ -76,11 +76,11 @@ %if actions: %endif diff --git a/kallithea/templates/changeset/changeset.html b/kallithea/templates/changeset/changeset.html --- a/kallithea/templates/changeset/changeset.html +++ b/kallithea/templates/changeset/changeset.html @@ -33,13 +33,13 @@ ${self.repo_context_bar('changelog', c.c
    @@ -86,7 +86,7 @@ ${self.repo_context_bar('changelog', c.c %if len(c.changeset.parents)>1: - ${_('merge')} + ${_('Merge')} %endif %if h.is_hg(c.db_repo_scm_instance): @@ -221,7 +221,7 @@ ${self.repo_context_bar('changelog', c.c success: function(data) { if(data.results.length === 0){ $('#child_link').addClass('disabled'); - $('#child_link').html('${_('no revisions')}'); + $('#child_link').html('${_('No revisions')}'); } if(data.results.length === 1){ var commit = data.results[0]; @@ -258,7 +258,7 @@ ${self.repo_context_bar('changelog', c.c success: function(data) { if(data.results.length === 0){ $('#parent_link').addClass('disabled'); - $('#parent_link').html('${_('no revisions')}'); + $('#parent_link').html('${_('No revisions')}'); } if(data.results.length === 1){ var commit = data.results[0]; diff --git a/kallithea/templates/changeset/changeset_range.html b/kallithea/templates/changeset/changeset_range.html --- a/kallithea/templates/changeset/changeset_range.html +++ b/kallithea/templates/changeset/changeset_range.html @@ -85,7 +85,7 @@ ${self.repo_context_bar('changelog')}
    %if len(cs.parents)>1: - ${_('merge')} + ${_('Merge')} %endif %if h.is_hg(c.db_repo_scm_instance): %for book in cs.bookmarks: diff --git a/kallithea/templates/data_table/_dt_elements.html b/kallithea/templates/data_table/_dt_elements.html --- a/kallithea/templates/data_table/_dt_elements.html +++ b/kallithea/templates/data_table/_dt_elements.html @@ -119,7 +119,7 @@ <%def name="repo_actions(repo_name, super_user=True)">
    @@ -147,7 +147,7 @@ <%def name="user_actions(user_id, username)"> diff --git a/kallithea/templates/files/files_browser.html b/kallithea/templates/files/files_browser.html --- a/kallithea/templates/files/files_browser.html +++ b/kallithea/templates/files/files_browser.html @@ -29,7 +29,7 @@
    ${h.form(h.url.current())}
    -
    ${_('revision')}
    +
    ${_('Revision')}
    ${h.text('at_rev',value=c.changeset.revision,size=5)}
    diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html +++ b/kallithea/templates/pullrequests/pullrequest_show.html @@ -220,7 +220,7 @@ ${self.repo_context_bar('showpullrequest
    ${h.gravatar(member.email, size=14)}
    -
    ${member.full_name} (${_('owner') if c.pull_request.user_id == member.user_id else _('reviewer')})
    +
    ${member.full_name} (${_('Owner') if c.pull_request.user_id == member.user_id else _('Reviewer')})
    %if editable:
    diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html +++ b/kallithea/templates/summary/summary.html @@ -126,7 +126,7 @@ summary = lambda n:{False:'summary-short ${h.hidden('download_options')} - + %endif
    ${_('none')}${_('read')}${_('write')}${_('admin')}${_('user/user group')}${_('None')}${_('Read')}${_('Write')}${_('Admin')}${_('User/User Group')}
    %if r2p.user.username !='default': - ${_('revoke')} + ${_('Revoke')} %endif ${_('delegated admin')} ${_('Delegated Admin')}
    - ${_('revoke')} + ${_('Revoke')}
    ${_('Built-in')} ${_('expires')}: ${_('never')}${_('Expires')}: ${_('Never')} ${h.form(url('edit_user_api_keys', id=c.user.user_id),method='delete')} ${h.hidden('del_api_key',c.user.api_key)} ${h.hidden('del_api_key_builtin',1)} ${h.end_form()} ${api_key.description} %if api_key.expires == -1: - ${_('expires')}: ${_('never')} + ${_('Expires')}: ${_('Never')} %else: %if api_key.expired: - ${_('expired')}: ${h.age(h.time_to_datetime(api_key.expires))} + ${_('Expired')}: ${h.age(h.time_to_datetime(api_key.expires))} %else: - ${_('expires')}: ${h.age(h.time_to_datetime(api_key.expires))} + ${_('Expires')}: ${h.age(h.time_to_datetime(api_key.expires))} %endif %endif - ${_('edit')} + ${_('Edit')}
    %if section == 'repositories': - ${_('edit')} + ${_('Edit')} %elif section == 'repositories_groups': - ${_('edit')} + ${_('Edit')} %elif section == 'user_groups': - ##${_('edit')} + ##${_('Edit')} %endif