diff --git a/rhodecode/controllers/admin/permissions.py b/rhodecode/controllers/admin/permissions.py --- a/rhodecode/controllers/admin/permissions.py +++ b/rhodecode/controllers/admin/permissions.py @@ -67,11 +67,11 @@ class PermissionsController(BaseControll ('group.admin', _('Admin'),)] self.register_choices = [ ('hg.register.none', - _('disabled')), + _('Disabled')), ('hg.register.manual_activate', - _('allowed with manual account activation')), + _('Allowed with manual account activation')), ('hg.register.auto_activate', - _('allowed with automatic account activation')), ] + _('Allowed with automatic account activation')), ] self.create_choices = [('hg.create.none', _('Disabled')), ('hg.create.repository', _('Enabled'))] diff --git a/rhodecode/controllers/admin/repos.py b/rhodecode/controllers/admin/repos.py --- a/rhodecode/controllers/admin/repos.py +++ b/rhodecode/controllers/admin/repos.py @@ -194,7 +194,7 @@ class ReposController(BaseRepoController except Exception: log.error(traceback.format_exc()) - msg = _('error occurred during creation of repository %s') \ + msg = _('Error creating repository %s') \ % form_result.get('repo_name') h.flash(msg, category='error') if c.rhodecode_user.is_admin: @@ -362,7 +362,7 @@ class ReposController(BaseRepoController #action_logger(self.rhodecode_user, 'admin_changed_repo_permissions', # repo_name, self.ip_addr, self.sa) Session().commit() - h.flash(_('updated repository permissions'), category='success') + h.flash(_('Repository permissions updated'), category='success') return redirect(url('edit_repo', repo_name=repo_name)) @HasRepoPermissionAllDecorator('repository.admin') @@ -473,10 +473,10 @@ class ReposController(BaseRepoController if repo.enable_locking: if repo.locked[0]: Repository.unlock(repo) - action = _('unlocked') + action = _('Unlocked') else: Repository.lock(repo, c.rhodecode_user.user_id) - action = _('locked') + action = _('Locked') h.flash(_('Repository has been %s') % action, category='success') diff --git a/rhodecode/controllers/changeset.py b/rhodecode/controllers/changeset.py --- a/rhodecode/controllers/changeset.py +++ b/rhodecode/controllers/changeset.py @@ -80,21 +80,21 @@ def _ignorews_url(GET, fileid=None): fileid = str(fileid) if fileid else None params = defaultdict(list) _update_with_GET(params, GET) - lbl = _('show white space') + lbl = _('Show white space') ig_ws = get_ignore_ws(fileid, GET) ln_ctx = get_line_ctx(fileid, GET) # global option if fileid is None: if ig_ws is None: params['ignorews'] += [1] - lbl = _('ignore white space') + lbl = _('Ignore white space') ctx_key = 'context' ctx_val = ln_ctx # per file options else: if ig_ws is None: params[fileid] += ['WS:1'] - lbl = _('ignore white space') + lbl = _('Ignore white space') ctx_key = fileid ctx_val = 'C:%s' % ln_ctx diff --git a/rhodecode/controllers/feed.py b/rhodecode/controllers/feed.py --- a/rhodecode/controllers/feed.py +++ b/rhodecode/controllers/feed.py @@ -88,9 +88,8 @@ class FeedController(BaseRepoController) def __get_desc(self, cs): desc_msg = [] - desc_msg.append('%s %s %s
' % (h.person(cs.author), - _('commited on'), - h.fmt_date(cs.date))) + desc_msg.append((_('%s committed on %s') + % (h.person(cs.author), h.fmt_date(cs.date))) + '
') #branches, tags, bookmarks if cs.branch: desc_msg.append('branch: %s
' % cs.branch) @@ -103,7 +102,7 @@ class FeedController(BaseRepoController) # rev link _url = url('changeset_home', repo_name=cs.repository.name, revision=cs.raw_id, qualified=True) - desc_msg.append('changesest: %s' % (_url, cs.raw_id[:8])) + desc_msg.append('changeset: %s' % (_url, cs.raw_id[:8])) desc_msg.append('
')
         desc_msg.append(cs.message)
diff --git a/rhodecode/controllers/files.py b/rhodecode/controllers/files.py
--- a/rhodecode/controllers/files.py
+++ b/rhodecode/controllers/files.py
@@ -85,7 +85,7 @@ class FilesController(BaseRepoController
             url_ = url('files_add_home',
                        repo_name=c.repo_name,
                        revision=0, f_path='')
-            add_new = h.link_to(_('click here to add new file'), url_)
+            add_new = h.link_to(_('Click here to add new file'), url_)
             h.flash(h.literal(_('There are no files yet %s') % add_new),
                     category='warning')
             redirect(h.url('summary_home', repo_name=repo_name))
@@ -369,7 +369,7 @@ class FilesController(BaseRepoController
                 return redirect(url('changeset_home', repo_name=c.repo_name,
                                     revision='tip'))
             if location.startswith('/') or location.startswith('.') or '../' in location:
-                h.flash(_('location must be relative path and must not '
+                h.flash(_('Location must be relative path and must not '
                           'contain .. in path'), category='warning')
                 return redirect(url('changeset_home', repo_name=c.repo_name,
                                     revision='tip'))
@@ -417,7 +417,7 @@ class FilesController(BaseRepoController
         try:
             dbrepo = RepoModel().get_by_repo_name(repo_name)
             if not dbrepo.enable_downloads:
-                return _('downloads disabled')
+                return _('Downloads disabled')
 
             if c.rhodecode_repo.alias == 'hg':
                 # patch and reset hooks section of UI config to not run any
diff --git a/rhodecode/controllers/pullrequests.py b/rhodecode/controllers/pullrequests.py
--- a/rhodecode/controllers/pullrequests.py
+++ b/rhodecode/controllers/pullrequests.py
@@ -215,7 +215,7 @@ class PullrequestsController(BaseRepoCon
             elif errors.error_dict.get('pullrequest_title'):
                 msg = _('Pull request requires a title with min. 3 chars')
             else:
-                msg = _('error during creation of pull request')
+                msg = _('Error creating pull request')
 
             h.flash(msg, 'error')
             return redirect(url('pullrequest_home', repo_name=repo_name))
@@ -423,7 +423,7 @@ class PullrequestsController(BaseRepoCon
 
         allowed_to_change_status = self._get_is_allowed_change_status(pull_request)
         if status and change_status and allowed_to_change_status:
-            _def = (_('status change -> %s')
+            _def = (_('Status change -> %s')
                             % ChangesetStatus.get_status_lbl(status))
             if close_pr:
                 _def = _('Closing with') + ' ' + _def
diff --git a/rhodecode/lib/diffs.py b/rhodecode/lib/diffs.py
--- a/rhodecode/lib/diffs.py
+++ b/rhodecode/lib/diffs.py
@@ -63,7 +63,7 @@ def wrapped_diff(filenode_old, filenode_
         filenode_old = FileNode(filenode_new.path, '', EmptyChangeset())
 
     if filenode_old.is_binary or filenode_new.is_binary:
-        diff = wrap_to_table(_('binary file'))
+        diff = wrap_to_table(_('Binary file'))
         stats = (0, 0)
         size = 0
 
diff --git a/rhodecode/model/notification.py b/rhodecode/model/notification.py
--- a/rhodecode/model/notification.py
+++ b/rhodecode/model/notification.py
@@ -221,26 +221,24 @@ class NotificationModel(BaseModel):
         #alias
         _n = notification
         _map = {
-            _n.TYPE_CHANGESET_COMMENT: _('commented on changeset at %(when)s'),
-            _n.TYPE_MESSAGE: _('sent message at %(when)s'),
-            _n.TYPE_MENTION: _('mentioned you at %(when)s'),
-            _n.TYPE_REGISTRATION: _('registered in RhodeCode at %(when)s'),
-            _n.TYPE_PULL_REQUEST: _('opened new pull request at %(when)s'),
-            _n.TYPE_PULL_REQUEST_COMMENT: _('commented on pull request at %(when)s')
+            _n.TYPE_CHANGESET_COMMENT: _('%(user)s commented on changeset at %(when)s'),
+            _n.TYPE_MESSAGE: _('%(user)s sent message at %(when)s'),
+            _n.TYPE_MENTION: _('%(user)s mentioned you at %(when)s'),
+            _n.TYPE_REGISTRATION: _('%(user)s registered in RhodeCode at %(when)s'),
+            _n.TYPE_PULL_REQUEST: _('%(user)s opened new pull request at %(when)s'),
+            _n.TYPE_PULL_REQUEST_COMMENT: _('%(user)s commented on pull request at %(when)s')
         }
+        tmpl = _map[notification.type_]
 
-        # action == _map string
-        tmpl = "%(user)s %(action)s "
         if show_age:
             when = h.age(notification.created_on)
         else:
             when = h.fmt_date(notification.created_on)
 
-        data = dict(
+        return tmpl % dict(
             user=notification.created_by_user.username,
-            action=_map[notification.type_] % {'when': when},
-        )
-        return tmpl % data
+            when=when,
+            )
 
 
 class EmailNotificationModel(BaseModel):
diff --git a/rhodecode/model/user.py b/rhodecode/model/user.py
--- a/rhodecode/model/user.py
+++ b/rhodecode/model/user.py
@@ -229,7 +229,7 @@ class UserModel(BaseModel):
             self.sa.flush()
 
             # notification to admins
-            subject = _('new user registration')
+            subject = _('New user registration')
             body = ('New user registration\n'
                     '---------------------\n'
                     '- Username: %s\n'
@@ -331,7 +331,7 @@ class UserModel(BaseModel):
                                                        'reset_url': link})
                 log.debug('sending email')
                 run_task(tasks.send_email, user_email,
-                         _("password reset link"), body, body)
+                         _("Password reset link"), body, body)
                 log.info('send new password mail to %s' % user_email)
             else:
                 log.debug("password reset email %s not found" % user_email)
diff --git a/rhodecode/templates/admin/defaults/defaults.html b/rhodecode/templates/admin/defaults/defaults.html
--- a/rhodecode/templates/admin/defaults/defaults.html
+++ b/rhodecode/templates/admin/defaults/defaults.html
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_('Admin'),h.url('admin_home'))}
     »
-    ${_('defaults')}
+    ${_('Defaults')}
 
 
 <%def name="page_nav()">
diff --git a/rhodecode/templates/admin/ldap/ldap.html b/rhodecode/templates/admin/ldap/ldap.html
--- a/rhodecode/templates/admin/ldap/ldap.html
+++ b/rhodecode/templates/admin/ldap/ldap.html
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_('Admin'),h.url('admin_home'))}
     »
-    ${_('ldap')}
+    ${_('LDAP')}
 
 
 <%def name="page_nav()">
diff --git a/rhodecode/templates/admin/permissions/permissions.html b/rhodecode/templates/admin/permissions/permissions.html
--- a/rhodecode/templates/admin/permissions/permissions.html
+++ b/rhodecode/templates/admin/permissions/permissions.html
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_('Admin'),h.url('admin_home'))}
     »
-    ${_('permissions')}
+    ${_('Permissions')}
 
 
 <%def name="page_nav()">
@@ -47,7 +47,7 @@
                     
+                    ${_('Overwrite existing settings')} 
                 
             
             
@@ -60,7 +60,7 @@ + ${_('Overwrite existing settings')}
@@ -180,7 +180,7 @@ ${h.hidden('del_ip',ip.ip_id)} ${h.hidden('default_user', 'True')} ${h.submit('remove_',_('delete'),id="remove_ip_%s" % ip.ip_id, - class_="delete_icon action_button", onclick="return confirm('"+_('Confirm to delete this ip: %s') % ip.ip_addr+"');")} + class_="delete_icon action_button", onclick="return confirm('"+_('Confirm to delete this ip: %s') % ip.ip_addr+"');")} ${h.end_form()} diff --git a/rhodecode/templates/admin/repos/repo_add.html b/rhodecode/templates/admin/repos/repo_add.html --- a/rhodecode/templates/admin/repos/repo_add.html +++ b/rhodecode/templates/admin/repos/repo_add.html @@ -16,7 +16,7 @@ ${_('Repositories')} %endif » - ${_('add new')} + ${_('Add new')} <%def name="page_nav()"> diff --git a/rhodecode/templates/admin/repos/repo_add_base.html b/rhodecode/templates/admin/repos/repo_add_base.html --- a/rhodecode/templates/admin/repos/repo_add_base.html +++ b/rhodecode/templates/admin/repos/repo_add_base.html @@ -70,7 +70,7 @@
- ${h.submit('add',_('add'),class_="ui-btn large")} + ${h.submit('add',_('Add'),class_="ui-btn large")}
diff --git a/rhodecode/templates/admin/repos_groups/repos_groups_edit.html b/rhodecode/templates/admin/repos_groups/repos_groups_edit.html --- a/rhodecode/templates/admin/repos_groups/repos_groups_edit.html +++ b/rhodecode/templates/admin/repos_groups/repos_groups_edit.html @@ -10,7 +10,7 @@ » ${h.link_to(_('Repository groups'),h.url('repos_groups'))} » - ${_('Edit repository group')} "${c.repos_group.name}" + ${_('Edit repository group %s') % c.repos_group.name}" <%def name="page_nav()"> diff --git a/rhodecode/templates/admin/repos_groups/repos_groups_show.html b/rhodecode/templates/admin/repos_groups/repos_groups_show.html --- a/rhodecode/templates/admin/repos_groups/repos_groups_show.html +++ b/rhodecode/templates/admin/repos_groups/repos_groups_show.html @@ -9,7 +9,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('repository groups')} + ${_('Repository groups')} <%def name="page_nav()"> @@ -39,7 +39,7 @@ ${_('Group name')} ${_('Description')} ${_('Number of toplevel repositories')} - ${_('action')} + ${_('Action')} @@ -57,7 +57,7 @@ ${gr.group_description} ${gr_cn} - + ${h.submit('edit_%s' % gr.group_name,_('edit'),class_="edit_icon action_button")} diff --git a/rhodecode/templates/admin/settings/settings.html b/rhodecode/templates/admin/settings/settings.html --- a/rhodecode/templates/admin/settings/settings.html +++ b/rhodecode/templates/admin/settings/settings.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('settings')} + ${_('Settings')} <%def name="page_nav()"> @@ -267,7 +267,7 @@ ${h.text('paths_root_path',size=30,readonly="readonly")} - ${_('unlock')} + ${_('Unlock')} ${_('Location where repositories are stored. After changing this value a restart, and rescan is required')} diff --git a/rhodecode/templates/admin/users/user_add.html b/rhodecode/templates/admin/users/user_add.html --- a/rhodecode/templates/admin/users/user_add.html +++ b/rhodecode/templates/admin/users/user_add.html @@ -9,7 +9,7 @@ » ${h.link_to(_('Users'),h.url('users'))} » - ${_('add new user')} + ${_('Add new user')} <%def name="page_nav()"> @@ -91,7 +91,7 @@
- ${h.submit('save',_('save'),class_="ui-btn large")} + ${h.submit('save',_('Save'),class_="ui-btn large")}
diff --git a/rhodecode/templates/admin/users/user_edit.html b/rhodecode/templates/admin/users/user_edit.html --- a/rhodecode/templates/admin/users/user_edit.html +++ b/rhodecode/templates/admin/users/user_edit.html @@ -10,7 +10,7 @@ » ${h.link_to(_('Users'),h.url('users'))} » - ${_('edit')} "${c.user.username}" + ${_('Edit %s') % c.user.username} <%def name="page_nav()"> diff --git a/rhodecode/templates/admin/users/users.html b/rhodecode/templates/admin/users/users.html --- a/rhodecode/templates/admin/users/users.html +++ b/rhodecode/templates/admin/users/users.html @@ -74,17 +74,17 @@ // main table sorting var myColumnDefs = [ {key:"gravatar",label:"",sortable:false,}, - {key:"username",label:"${_('username')}",sortable:true, + {key:"username",label:"${_('Username')}",sortable:true, sortOptions: { sortFunction: usernamelinkSort } }, - {key:"firstname",label:"${_('firstname')}",sortable:true,}, - {key:"lastname",label:"${_('lastname')}",sortable:true,}, - {key:"last_login",label:"${_('last login')}",sortable:true, + {key:"firstname",label:"${_('Firstname')}",sortable:true,}, + {key:"lastname",label:"${_('Lastname')}",sortable:true,}, + {key:"last_login",label:"${_('Last login')}",sortable:true, sortOptions: { sortFunction: lastLoginSort }}, - {key:"active",label:"${_('active')}",sortable:true,}, - {key:"admin",label:"${_('admin')}",sortable:true,}, - {key:"ldap",label:"${_('ldap')}",sortable:true,}, - {key:"action",label:"${_('action')}",sortable:false}, + {key:"active",label:"${_('Active')}",sortable:true,}, + {key:"admin",label:"${_('Admin')}",sortable:true,}, + {key:"ldap",label:"${_('LDAP')}",sortable:true,}, + {key:"action",label:"${_('Action')}",sortable:false}, ]; var myDataTable = new YAHOO.widget.DataTable("users_list_wrap", myColumnDefs, myDataSource,{ diff --git a/rhodecode/templates/admin/users_groups/users_group_add.html b/rhodecode/templates/admin/users_groups/users_group_add.html --- a/rhodecode/templates/admin/users_groups/users_group_add.html +++ b/rhodecode/templates/admin/users_groups/users_group_add.html @@ -9,7 +9,7 @@ » ${h.link_to(_('User groups'),h.url('users_groups'))} » - ${_('add new user group')} + ${_('Add new user group')} <%def name="page_nav()"> @@ -46,7 +46,7 @@
- ${h.submit('save',_('save'),class_="ui-btn large")} + ${h.submit('save',_('Save'),class_="ui-btn large")}
diff --git a/rhodecode/templates/admin/users_groups/users_group_edit.html b/rhodecode/templates/admin/users_groups/users_group_edit.html --- a/rhodecode/templates/admin/users_groups/users_group_edit.html +++ b/rhodecode/templates/admin/users_groups/users_group_edit.html @@ -10,7 +10,7 @@ » ${h.link_to(_('UserGroups'),h.url('users_groups'))} » - ${_('edit')} "${c.users_group.users_group_name}" + ${_('Edit %s') % c.users_group.users_group_name} <%def name="page_nav()"> @@ -87,7 +87,7 @@
- ${h.submit('Save',_('save'),class_="ui-btn large")} + ${h.submit('Save',_('Save'),class_="ui-btn large")}
diff --git a/rhodecode/templates/admin/users_groups/users_groups.html b/rhodecode/templates/admin/users_groups/users_groups.html --- a/rhodecode/templates/admin/users_groups/users_groups.html +++ b/rhodecode/templates/admin/users_groups/users_groups.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('user groups')} + ${_('User groups')} <%def name="page_nav()"> @@ -31,10 +31,10 @@
- - - - + + + + %for cnt,u_group in enumerate(c.users_groups_list): diff --git a/rhodecode/templates/base/base.html b/rhodecode/templates/base/base.html --- a/rhodecode/templates/base/base.html +++ b/rhodecode/templates/base/base.html @@ -63,21 +63,21 @@ <%def name="admin_menu()"> <%def name="admin_menu_simple()"> diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -86,18 +86,18 @@ %endif %if h.is_hg(c.rhodecode_repo): %for book in cs.bookmarks: -
+
${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor %endif %for tag in cs.tags: -
+
${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor %if (not c.branch_name) and cs.branch: -
+
${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
%endif diff --git a/rhodecode/templates/changelog/changelog_details.html b/rhodecode/templates/changelog/changelog_details.html --- a/rhodecode/templates/changelog/changelog_details.html +++ b/rhodecode/templates/changelog/changelog_details.html @@ -1,11 +1,11 @@ ## small box that displays changed/added/removed details fetched by AJAX % if len(c.cs.affected_files) <= c.affected_files_cut_off: -${len(c.cs.removed)} -${len(c.cs.changed)} -${len(c.cs.added)} +${len(c.cs.removed)} +${len(c.cs.changed)} +${len(c.cs.added)} % else: - ! - ! - ! + ! + ! + ! % endif diff --git a/rhodecode/templates/changeset/changeset.html b/rhodecode/templates/changeset/changeset.html --- a/rhodecode/templates/changeset/changeset.html +++ b/rhodecode/templates/changeset/changeset.html @@ -64,9 +64,9 @@ %endif
- - - + + + ${c.ignorews_url(request.GET)} ${c.context_url(request.GET)}
@@ -88,13 +88,13 @@
% if (len(c.changeset.affected_files) <= c.affected_files_cut_off) or c.fulldiff: - ${len(c.changeset.removed)} - ${len(c.changeset.changed)} - ${len(c.changeset.added)} + ${len(c.changeset.removed)} + ${len(c.changeset.changed)} + ${len(c.changeset.added)} % else: - ! - ! - ! + ! + ! + ! % endif
@@ -103,12 +103,12 @@ ${_('merge')} %endif %if c.changeset.branch: - + ${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} %endif %for tag in c.changeset.tags: - + ${h.link_to(tag,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} %endfor @@ -131,7 +131,7 @@
%endfor % if c.limited_diff: -
${_('Changeset was too big and was cut off...')} ${_('Show full diff')}
+
${_('Changeset was too big and was cut off...')} ${_('Show full diff')}
% endif
@@ -143,7 +143,7 @@ ${diff_block.diff_block(c.changes[c.changeset.raw_id])} % if c.limited_diff: -

${_('Changeset was too big and was cut off...')} ${_('Show full diff')}

+

${_('Changeset was too big and was cut off...')} ${_('Show full diff')}

% endif ## template for inline comment form diff --git a/rhodecode/templates/changeset/changeset_range.html b/rhodecode/templates/changeset/changeset_range.html --- a/rhodecode/templates/changeset/changeset_range.html +++ b/rhodecode/templates/changeset/changeset_range.html @@ -77,19 +77,19 @@ ${_('merge')} %endif %if cs.branch: - + ${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endif %if h.is_hg(c.rhodecode_repo): %for book in cs.bookmarks: - + ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endfor %endif %for tag in cs.tags: - + ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endfor diff --git a/rhodecode/templates/changeset/diff_block.html b/rhodecode/templates/changeset/diff_block.html --- a/rhodecode/templates/changeset/diff_block.html +++ b/rhodecode/templates/changeset/diff_block.html @@ -5,7 +5,7 @@ ## <%def name="diff_block(change)">
- ↑ ${_('collapse diff')} ↑ + ↑ ${_('Collapse diff')} ↑
%for FID,(cs1, cs2, change, path, diff, stats) in change.iteritems(): @@ -19,15 +19,15 @@ revision=cs2,f_path=h.safe_unicode(path)))}
- - - + + + ${c.ignorews_url(request.GET, h.FID(cs2,path))} ${c.context_url(request.GET, h.FID(cs2,path))}
@@ -52,8 +52,8 @@ diff --git a/rhodecode/templates/data_table/_dt_elements.html b/rhodecode/templates/data_table/_dt_elements.html --- a/rhodecode/templates/data_table/_dt_elements.html +++ b/rhodecode/templates/data_table/_dt_elements.html @@ -58,9 +58,9 @@ ##PRIVATE/PUBLIC %if private and c.visual.show_private_icon: - ${_('private repository')} + ${_('Private repository')} %elif not private and c.visual.show_public_icon: - ${_('public repository')} + ${_('Public repository')} %endif ##NAME @@ -71,7 +71,7 @@ %endif %if fork_of: - ${_('fork')} + ${_('Fork')} %endif diff --git a/rhodecode/templates/files/files.html b/rhodecode/templates/files/files.html --- a/rhodecode/templates/files/files.html +++ b/rhodecode/templates/files/files.html @@ -27,7 +27,7 @@ ${self.breadcrumbs()} diff --git a/rhodecode/templates/files/files_add.html b/rhodecode/templates/files/files_add.html --- a/rhodecode/templates/files/files_add.html +++ b/rhodecode/templates/files/files_add.html @@ -28,7 +28,7 @@ @@ -72,7 +72,7 @@

                     
                 
-                
${_('commit message')}
+
${_('Commit message')}
diff --git a/rhodecode/templates/files/files_browser.html b/rhodecode/templates/files/files_browser.html --- a/rhodecode/templates/files/files_browser.html +++ b/rhodecode/templates/files/files_browser.html @@ -10,25 +10,25 @@
${h.form(h.url.current())}
- ${_('view')}@rev - « + ${_('View')}@rev + « ${h.text('at_rev',value=c.changeset.revision,size=5)} - » - ## ${h.submit('view',_('view'),class_="ui-btn")} + » + ## ${h.submit('view',_('View'),class_="ui-btn")}
${h.end_form()}
${h.checkbox('stay_at_branch',c.changeset.branch,c.changeset.branch==c.branch)} - +

                 
-                
${_('commit message')}
+
${_('Commit message')}
diff --git a/rhodecode/templates/files/files_history_box.html b/rhodecode/templates/files/files_history_box.html --- a/rhodecode/templates/files/files_history_box.html +++ b/rhodecode/templates/files/files_history_box.html @@ -6,9 +6,9 @@ ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='get')} ${h.hidden('diff2',c.file_changeset.raw_id)} ${h.select('diff1',c.file_changeset.raw_id,c.file_history)} - ${h.submit('diff',_('diff to revision'),class_="ui-btn")} - ${h.submit('show_rev',_('show at revision'),class_="ui-btn")} - ${h.link_to(_('show full history'),h.url('shortlog_file_home',repo_name=c.repo_name, revision=c.file_changeset.raw_id, f_path=c.f_path),class_="ui-btn")} + ${h.submit('diff',_('Diff to revision'),class_="ui-btn")} + ${h.submit('show_rev',_('Show at revision'),class_="ui-btn")} + ${h.link_to(_('Show full history'),h.url('shortlog_file_home',repo_name=c.repo_name, revision=c.file_changeset.raw_id, f_path=c.f_path),class_="ui-btn")} ${h.hidden('annotate', c.annotate)} ${h.end_form()}
diff --git a/rhodecode/templates/files/files_source.html b/rhodecode/templates/files/files_source.html --- a/rhodecode/templates/files/files_source.html +++ b/rhodecode/templates/files/files_source.html @@ -18,17 +18,17 @@
${c.file.mimetype}
%if c.annotate: - ${h.link_to(_('show source'), h.url('files_home', repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} + ${h.link_to(_('Show source'), h.url('files_home', repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} %else: - ${h.link_to(_('show annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} + ${h.link_to(_('Show annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} %endif - ${h.link_to(_('show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} - ${h.link_to(_('download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} + ${h.link_to(_('Show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} + ${h.link_to(_('Download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path),class_="ui-btn")} % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): % if c.on_branch_head and c.changeset.branch and not c.file.is_binary: - ${h.link_to(_('edit on branch:%s') % c.changeset.branch,h.url('files_edit_home',repo_name=c.repo_name,revision=c.changeset.branch,f_path=c.f_path),class_="ui-btn")} + ${h.link_to(_('Edit on branch:%s') % c.changeset.branch,h.url('files_edit_home',repo_name=c.repo_name,revision=c.changeset.branch,f_path=c.f_path),class_="ui-btn")} %else: - ${h.link_to(_('edit on branch:?'), '#', class_="ui-btn disabled tooltip", title=_('Editing files allowed only when on branch head revision'))} + ${h.link_to(_('Edit on branch:?'), '#', class_="ui-btn disabled tooltip", title=_('Editing files allowed only when on branch head revision'))} % endif % endif
@@ -52,7 +52,7 @@ ${h.pygmentize(c.file,linenos=True,anchorlinenos=True,lineanchors='L',cssclass="code-highlight")} %endif %else: - ${_('File is too big to display')} ${h.link_to(_('show as raw'), + ${_('File is too big to display')} ${h.link_to(_('Show as raw'), h.url('files_raw_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path))} %endif %endif diff --git a/rhodecode/templates/forks/forks_data.html b/rhodecode/templates/forks/forks_data.html --- a/rhodecode/templates/forks/forks_data.html +++ b/rhodecode/templates/forks/forks_data.html @@ -14,9 +14,9 @@
${f.description}
-
${_('forked')} - +
${_('Forked')} - ${h.age(f.created_on)} - ${_('Compare fork')}
diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html --- a/rhodecode/templates/pullrequests/pullrequest_show.html +++ b/rhodecode/templates/pullrequests/pullrequest_show.html @@ -56,7 +56,7 @@ % if len(c.pull_request_pending_reviewers) > 0:
${ungettext('%d reviewer', '%d reviewers',len(c.pull_request_pending_reviewers)) % len(c.pull_request_pending_reviewers)}
%else: -
${_('pull request was reviewed by all reviewers')}
+
${_('Pull request was reviewed by all reviewers')}
%endif
@@ -128,7 +128,7 @@ %endfor % if c.limited_diff: -
${_('Changeset was too big and was cut off...')} ${_('Show full diff')}
+
${_('Changeset was too big and was cut off...')} ${_('Show full diff')}
% endif @@ -192,7 +192,7 @@ ${diff_block.diff_block_simple([c.changes[fid]])} %endfor % if c.limited_diff: -

${_('Changeset was too big and was cut off...')} ${_('Show full diff')}

+

${_('Changeset was too big and was cut off...')} ${_('Show full diff')}

% endif diff --git a/rhodecode/templates/shortlog/shortlog_data.html b/rhodecode/templates/shortlog/shortlog_data.html --- a/rhodecode/templates/shortlog/shortlog_data.html +++ b/rhodecode/templates/shortlog/shortlog_data.html @@ -2,12 +2,12 @@ %if c.repo_changesets:
${_('group name')}${_('members')}${_('active')}${_('action')}${_('Group name')}${_('Members')}${_('Active')}${_('Action')}
- - - - - - + + + + + + %for cnt,cs in enumerate(c.repo_changesets): @@ -75,7 +75,7 @@

${_('Add or upload files directly via RhodeCode')}

%endif diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html --- a/rhodecode/templates/summary/summary.html +++ b/rhodecode/templates/summary/summary.html @@ -13,8 +13,8 @@ <%def name="head_extra()"> - - + + <%def name="main()"> @@ -59,9 +59,9 @@ ##PUBLIC/PRIVATE %if c.dbrepo.private: - ${_('private repository')} + ${_('Private repository')} %else: - ${_('public repository')} + ${_('Public repository')} %endif ##REPO NAME @@ -70,7 +70,7 @@ ##FORK %if c.dbrepo.fork:
- ${_('public')} + ${_('Public')} ${_('Fork of')} ${c.dbrepo.fork.repo_name}
@@ -78,7 +78,7 @@ ##REMOTE %if c.dbrepo.clone_uri:
- ${_('remote clone')} + ${_('Remote clone')} ${_('Clone from')} ${h.hide_credentials(c.dbrepo.clone_uri)}
@@ -386,7 +386,7 @@ for (var i=0;i - ${h.link_to('%s (%s)' % (_('branches'),len(c.rhodecode_repo.branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} + ${h.link_to('%s (%s)' % (_('Branches'),len(c.rhodecode_repo.branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')}
    %if c.rhodecode_repo.branches.values(): %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()): @@ -12,7 +12,7 @@
  • - ${h.link_to('%s (%s)' % (_('tags'),len(c.rhodecode_repo.tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')} + ${h.link_to('%s (%s)' % (_('Tags'),len(c.rhodecode_repo.tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')}
      %if c.rhodecode_repo.tags.values(): %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()): @@ -25,7 +25,7 @@ %if c.rhodecode_repo.alias == 'hg':
    • - ${h.link_to('%s (%s)' % (_('bookmarks'),len(c.rhodecode_repo.bookmarks.values()),),h.url('bookmarks_home',repo_name=c.repo_name),class_='bookmarks childs')} + ${h.link_to('%s (%s)' % (_('Bookmarks'),len(c.rhodecode_repo.bookmarks.values()),),h.url('bookmarks_home',repo_name=c.repo_name),class_='bookmarks childs')}
        %if c.rhodecode_repo.bookmarks.values(): %for cnt,book in enumerate(c.rhodecode_repo.bookmarks.items()): diff --git a/rhodecode/tests/functional/test_files.py b/rhodecode/tests/functional/test_files.py --- a/rhodecode/tests/functional/test_files.py +++ b/rhodecode/tests/functional/test_files.py @@ -57,7 +57,7 @@ class TestFilesController(TestController revision='97e8b885c04894463c51898e14387d80c30ed1ee', f_path='/')) - response.mustcontain("""branch: git""") + response.mustcontain("""Branch: git""") def test_index_paging(self): self.log_user() @@ -89,7 +89,7 @@ Improved test to clone into uniq reposit removed extra unicode conversion in diff. """) - response.mustcontain("""branch: default""") + response.mustcontain("""Branch: default""") def test_file_source_history(self): self.log_user() @@ -156,7 +156,7 @@ removed extra unicode conversion in diff f_path='vcs/nodes.py', annotate=True)) - response.mustcontain("""branch: default""") + response.mustcontain("""Branch: default""") def test_file_annotation_history(self): self.log_user() diff --git a/rhodecode/tests/functional/test_home.py b/rhodecode/tests/functional/test_home.py --- a/rhodecode/tests/functional/test_home.py +++ b/rhodecode/tests/functional/test_home.py @@ -22,8 +22,8 @@ class TestHomeController(TestController) response.mustcontain("""""") - response.mustcontain("""""") response.mustcontain( diff --git a/rhodecode/tests/functional/test_summary.py b/rhodecode/tests/functional/test_summary.py --- a/rhodecode/tests/functional/test_summary.py +++ b/rhodecode/tests/functional/test_summary.py @@ -25,7 +25,7 @@ class TestSummaryController(TestControll ) response.mustcontain( """public """ ) @@ -64,7 +64,7 @@ class TestSummaryController(TestControll ) response.mustcontain( """public """ ) @@ -84,7 +84,7 @@ class TestSummaryController(TestControll """title="Mercurial repository" alt="Mercurial """ """repository" src="/images/icons/hgicon.png"/>""") response.mustcontain("""public """) def test_index_by_repo_having_id_path_in_name_hg(self): @@ -112,7 +112,7 @@ class TestSummaryController(TestControll """title="Git repository" alt="Git """ """repository" src="/images/icons/giticon.png"/>""") response.mustcontain("""public """) def _enable_stats(self):
  • ${_('revision')}${_('commit message')}${_('age')}${_('author')}${_('branch')}${_('tags')}${_('Revision')}${_('Commit message')}${_('Age')}${_('Author')}${_('Branch')}${_('Tags')}