1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- update bugzilla language tempates

This commit is contained in:
Olli Hauer 2012-09-05 19:05:54 +00:00
parent e7b67e049d
commit f02b57b299
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303719
9 changed files with 26 additions and 137 deletions

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= bugzilla
PORTVERSION= 4.0.7
PORTREVISION= 1
PORTVERSION= 4.0.8
#PORTREVISION= 1
CATEGORIES= german
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
@ -21,13 +21,9 @@ NO_WRKSUBDIR= yes
LANGDIR= ${WWWDIR}/template/de
post-patch:
${REINPLACE_CMD} -i '' -e '/abbrev/d' \
${WRKDIR}/de/default/filterexceptions.pl
${REINPLACE_CMD} -i '' -e 's/column.title -%/column.title FILTER html -%/' \
${WRKDIR}/de/default/list/table.html.tmpl
${REINPLACE_CMD} -i '' -e 's/4.0.7/4.0.8/' \
${WRKDIR}/de/default/global/gzversion.html.tmpl
#post-patch:
# ${REINPLACE_CMD} -i '' -e 's/4.0.7/4.0.8/' \
# ${WRKDIR}/de/default/global/gzversion.html.tmpl
do-install:
@-${MKDIR} ${LANGDIR}

View File

@ -1,2 +1,2 @@
SHA256 (bugzilla/germzilla-4.0.7-1.utf-8.tar.gz) = e0d328ff19a19f8644ca906420358cd05ed58988344603ad94693d1d62fb3bab
SIZE (bugzilla/germzilla-4.0.7-1.utf-8.tar.gz) = 264194
SHA256 (bugzilla/germzilla-4.0.8-1.utf-8.tar.gz) = f2dd6da68562c39feb1c06dfeab53501e721f4a7bca0d09525e0052a598e737e
SIZE (bugzilla/germzilla-4.0.8-1.utf-8.tar.gz) = 264182

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= bugzilla
PORTVERSION= 3.6.10
PORTREVISION= 1
PORTVERSION= 3.6.11
#PORTREVISION= 1
CATEGORIES= german
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
@ -21,13 +21,9 @@ NO_WRKSUBDIR= yes
LANGDIR= ${WWWDIR}/template/de
post-patch:
${REINPLACE_CMD} -i '' -e '/abbrev/d' \
${WRKDIR}/de/default/filterexceptions.pl
${REINPLACE_CMD} -i '' -e 's/column.title -%/column.title FILTER html -%/' \
${WRKDIR}/de/default/list/table.html.tmpl
${REINPLACE_CMD} -i '' -e 's/3.6.10/3.6.11/' \
${WRKDIR}/de/default/global/gzversion.html.tmpl
#post-patch:
# ${REINPLACE_CMD} -i '' -e 's/3.6.10/3.6.11/' \
# ${WRKDIR}/de/default/global/gzversion.html.tmpl
do-install:
@-${MKDIR} ${LANGDIR}

View File

@ -1,2 +1,2 @@
SHA256 (bugzilla/germzilla-3.6.10-1.utf-8.tar.gz) = 5a92fc135f49e16916208db7f0f2b69673aeb87dd648f3806a2fbe6d51f39f49
SIZE (bugzilla/germzilla-3.6.10-1.utf-8.tar.gz) = 262461
SHA256 (bugzilla/germzilla-3.6.11-1.utf-8.tar.gz) = fac8eaa0259f11c6ff33be9b94ec4969ef01fb49ac590f8be2d766ac5a6e5713
SIZE (bugzilla/germzilla-3.6.11-1.utf-8.tar.gz) = 262453

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= bugzilla
PORTVERSION= 4.2.2
PORTREVISION= 1
PORTVERSION= 4.2.3
#PORTREVISION= 1
CATEGORIES= german
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
@ -21,10 +21,10 @@ NO_WRKSUBDIR= yes
LANGDIR= ${WWWDIR}/template/de
post-patch:
@${REINPLACE_CMD} -i '' -e 's/4.2.2/4.2.3/' \
${WRKDIR}/de/default/global/gzversion.html.tmpl
@${FIND} ${WRKDIR} -type f -name \*.orig -delete
#post-patch:
# @${REINPLACE_CMD} -i '' -e 's/4.2.2/4.2.3/' \
# ${WRKDIR}/de/default/global/gzversion.html.tmpl
# @${FIND} ${WRKDIR} -type f -name \*.orig -delete
do-install:
@-${MKDIR} ${LANGDIR}

View File

@ -1,2 +1,2 @@
SHA256 (bugzilla/germzilla-4.2.2-1.utf-8.tar.gz) = 952942c2d7cb176bd4a21d8163b66e8b3bf01e114952f1a2ae8616aec8924881
SIZE (bugzilla/germzilla-4.2.2-1.utf-8.tar.gz) = 271098
SHA256 (bugzilla/germzilla-4.2.3-1.utf-8.tar.gz) = 4eafbf1e16322c647c31a606c4007ea84bdff336362297bed5bd7eead50a0b2e
SIZE (bugzilla/germzilla-4.2.3-1.utf-8.tar.gz) = 271170

View File

@ -1,103 +0,0 @@
--- ./de/default/account/auth/login-small.html.tmpl.orig 2012-09-01 20:37:40.000000000 +0200
+++ ./de/default/account/auth/login-small.html.tmpl 2012-09-01 20:40:14.000000000 +0200
@@ -38,8 +38,8 @@
[% IF cgi.request_method == "GET" AND cgi.query_string %]
[% connector = "&" %]
[% END %]
- [% script_name = login_target _ connector _ "GoAheadAndLogIn=1" %]
- <a id="login_link[% qs_suffix %]" href="[% script_name FILTER html %]"
+ [% script_url = login_target _ connector _ "GoAheadAndLogIn=1" %]
+ <a id="login_link[% qs_suffix %]" href="[% script_url FILTER html %]"
onclick="return show_mini_login_form('[% qs_suffix %]')">Anmelden</a>
[% Hook.process('additional_methods') %]
@@ -116,7 +116,7 @@
</li>
<li id="forgot_container[% qs_suffix %]">
<span class="separator">| </span>
- <a id="forgot_link[% qs_suffix %]" href="[% script_name FILTER html %]#forgot"
+ <a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot"
onclick="return show_forgot_form('[% qs_suffix %]')">Passwort vergessen</a>
<form action="token.cgi" method="post" id="forgot_form[% qs_suffix %]"
class="mini_forgot bz_default_hidden">
@@ -125,6 +125,7 @@
<input id="forgot_button[% qs_suffix %]" value="Neues Passwort anfordern"
type="submit">
<input type="hidden" name="a" value="reqpw">
+ <input type="hidden" id="token" name="token" value="[% issue_hash_token(['reqpw']) FILTER html %]">
<a href="#" onclick="return hide_forgot_form('[% qs_suffix %]')">[x]</a>
</form>
</li>
--- ./de/default/account/auth/login.html.tmpl.orig 2012-09-01 20:41:03.000000000 +0200
+++ ./de/default/account/auth/login.html.tmpl 2012-09-01 20:41:54.000000000 +0200
@@ -122,6 +122,7 @@
[%+ terms.Bugzilla %] sendet dann an die Adresse ein sogenanntes Token
zur Änderung Ihres Passworts.<br />
<input size="35" name="loginname">
+ <input type="hidden" id="token" name="token" value="[% issue_hash_token(['reqpw']) FILTER html %]">
<input type="submit" id="request" value="Neues Passwort vergeben">
</form>
[% END %]
--- ./de/default/filterexceptions.pl.orig 2012-09-01 20:42:25.000000000 +0200
+++ ./de/default/filterexceptions.pl 2012-09-01 20:42:47.000000000 +0200
@@ -156,7 +156,6 @@
'list/table.html.tmpl' => [
'tableheader',
'bug.bug_id',
- 'abbrev.$id.title || field_descs.$id || column.title',
],
'list/list.csv.tmpl' => [
--- ./de/default/global/user-error.html.tmpl.orig 2012-09-01 20:54:02.000000000 +0200
+++ ./de/default/global/user-error.html.tmpl 2012-09-01 20:59:47.000000000 +0200
@@ -1287,10 +1287,10 @@
[% docslinks = {'query.html' => "Nach $terms.bugs suchen",
'query.html#list' => "${terms.Bug}listen"} %]
[% IF sharer_id && sharer_id != user.id %]
- Die Suche mit dem Namen „[% queryname FILTER html %]“ ist nicht für Sie
+ Die Suche mit dem Namen „[% name FILTER html %]“ ist nicht für Sie
sichtbar gemacht worden.
[% ELSE %]
- Es existiert keine Suche mit dem Namen „[% queryname FILTER html %]“.
+ Es existiert keine Suche mit dem Namen „[% name FILTER html %]“.
[% END %]
[% ELSIF error == "missing_resolution" %]
--- ./de/default/list/table.html.tmpl.orig 2012-09-01 21:00:43.000000000 +0200
+++ ./de/default/list/table.html.tmpl 2012-09-01 21:01:34.000000000 +0200
@@ -135,7 +135,7 @@
[% PROCESS new_order %]
[%-#%]&amp;query_based_on=
[% defaultsavename OR searchname FILTER uri %]">
- [%- abbrev.$id.title || field_descs.$id || column.title -%]
+ [%- abbrev.$id.title || field_descs.$id || column.title FILTER html -%]
[% PROCESS order_arrow ~%]
</a>
</th>
--- ./de/default/search/search-advanced.html.tmpl.orig 2012-09-01 21:02:18.000000000 +0200
+++ ./de/default/search/search-advanced.html.tmpl 2012-09-01 21:05:22.000000000 +0200
@@ -33,7 +33,13 @@
[% js_data = BLOCK %]
-var queryform = "queryform"
+var queryform = "queryform";
+function remove_token() {
+ if (queryform.token) {
+ var asDefault = document.getElementById('remasdefault');
+ queryform.token.disabled = !asDefault.checked;
+ }
+}
[% END %]
[% PROCESS global/header.html.tmpl
@@ -65,7 +71,8 @@
<p id="search_help">Fahren Sie mit dem Mauszeiger über eine Feldbezeichnung,
um sich Hilfetexte zum Feld anzeigen zu lassen.</p>
-<form method="post" action="buglist.cgi" name="queryform" id="queryform">
+<form method="post" action="buglist.cgi" name="queryform" id="queryform"
+ onsubmit="remove_token()">
[% PROCESS search/form.html.tmpl %]

View File

@ -1,11 +1,11 @@
# $FreeBSD$
PORTNAME= bugzilla
PORTVERSION= 4.2.2
PORTVERSION= 4.2.3
CATEGORIES= russian
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
DISTNAME= bugzilla-${PORTVERSION}-ru-20120809
DISTNAME= bugzilla-${PORTVERSION}-ru-20120831
MAINTAINER= bugzilla@FreeBSD.org
COMMENT= Russian localization for Bugzilla

View File

@ -1,2 +1,2 @@
SHA256 (bugzilla/bugzilla-4.2.2-ru-20120809.tar.gz) = 17f68b12bf0ba8ba36179977af8dea6dbaa9723315cdde3d1f3ce7fb623a02e8
SIZE (bugzilla/bugzilla-4.2.2-ru-20120809.tar.gz) = 355109
SHA256 (bugzilla/bugzilla-4.2.3-ru-20120831.tar.gz) = c4d8b94994148176fc3e78836567b922d1ef0eb993967bc9742d020c6089250e
SIZE (bugzilla/bugzilla-4.2.3-ru-20120831.tar.gz) = 354977