Bug#820119: tidy reports valid NCR as invalid

2016-04-07 Thread AYANOKOUZI, Ryuunosuke
Control: tag -1 + patch

Dear all,

At Wed, 6 Apr 2016 20:48:15 +0200,
Frank Lichtenheld wrote:
>
> 2016-04-06 18:52 GMT+02:00 victory :
> > On Tue, 5 Apr 2016 20:16:53 +0200
> > Frank Lichtenheld wrote:
> >
> >> I assume you wanted to report this against tidy, not www.debian.org?
> >
> > if so, I always report to the upstream, not the debian's one
> >
> > see https://www-master.debian.org/build-logs/tidy/
> > files w/ 142bytes are caused by the issue
> > (other langs do not have the page [international/l10n/po/pl])
>
> Okay, that paragraph would have been helpful in the original mail to
> understand the contexts of your statement.

In HTML, "BREAK PERMITTED HERE" + "SPACE" can be rewritten by " ".
Because line break is automatically added by browser
between words separated by space.

How about apply this patch?
This patch replaces "‚ " in translator's name to " ".
The patch is not fully tested, but I hope it will work.

Sincerely yours,
Ryuunosuke Ayanokouzi
--
AYANOKOUZI, Ryuunosuke 


fix_NCR_130.patch
Description: Binary data


pgpRaD0kiVrX4.pgp
Description: OpenPGP Digital Signature


Bug#754601: [www] tidy reports errors on release pages

2016-06-03 Thread AYANOKOUZI, Ryuunosuke
Dear victory and Laura,

At Sun, 13 Jul 2014 07:03:04 +0900,
victory wrote:
>
> what it reports are nested strong elements and undefined
>  small-non-free-cd-images element.
> on the squeeze page, entire  block is useless

I have some comments about your patch.

> [2 tidy-release.txt ]
> Index: squeeze/debian-installer/index.wml
> ===
> --- squeeze/debian-installer/index.wml(revision 103)
> +++ squeeze/debian-installer/index.wml(working copy)
> @@ -78,14 +78,7 @@
>  and general information about loading firmware during an installation can
>  be found in the Installation Guide (see Documentation below).
>  
> -
> -
> -netinst (generally 175-240 MB) non-free
> -CD images with firmware
> -
>  
> -
> -

1.  and  block

The role of these blocks is essential in terms of look and feel.
I don't think it should be removed.

2. small-non-free-cd-images element

This WML tag is prepared to generate a list of netinst non-free CD images
and the images are available on cdimage.debian.org.
As you pointed out before, since the WML tag is not defined, wml keeps it as is.
I think a functionality of the tag should be implemented
instead of removing the tag.

> Index: wheezy/debian-installer/index.wml
> ===
> --- wheezy/debian-installer/index.wml (revision 103)
> +++ wheezy/debian-installer/index.wml (working copy)
> @@ -89,8 +89,8 @@
>  
>  
>  
> -netinst (generally 240-290 MB) non-free
> -CD images with firmware
> +netinst (generally 240-290 MB) non-free
> +CD images with firmware>
>  
>  
>  

3. nested strong elements

According to the DTD of HTML 4.01 [1] and XHTML1 [2],
strong elements is allowed to be nested.
Moreover, for HTML5 (which might be the next-generation web standard),
you can increase the level of importance by nesting of strong element[2].
I don't know when Debian migrate from HTML 4.01 to XHTML1 [3] or HTML5.
But, we should always perform modification with loosing meaning
in a careful manner (in terms of respecting original work),
and I think we should keep it as is.

[1] https://www.w3.org/TR/html4/sgml/dtd.html#phrase
[2] https://www.w3.org/TR/xhtml1/dtds.htm
[3] https://www.debian.org/devel/website/desc.en.html
[4] https://www.w3.org/TR/html5/text-level-semantics.html#the-strong-element

At Fri, 3 Jun 2016 06:11:19 +0900,
victory wrote:
>
>
> > I think the problem is solved, closing this bug.
>
> no
> it excludes pages under release/ by the line below;
> ie.: what you subscribed, never reports actual error in these pages

Following points mentioned above,
I modified some files in webwml CVS repository
and committed a patch to fix small-non-free-cd-images problem.
Now, it looks good for me (nesting of strong element is not fixed)
and I think it is OK to close this bug.

What do you think of generated HTML pages [1,2,3]?
Do you still think there still are some problems we should fix?

[1] https://www.debian.org/releases/squeeze/debian-installer/index.en.html
[2] https://www.debian.org/releases/wheezy/debian-installer/index.en.html
[3] https://www.debian.org/releases/jessie/debian-installer/index.en.html

Sincerely yours,
Ryuunosuke Ayanokouzi
--
AYANOKOUZI, Ryuunosuke 


pgpLjPR5TQ12o.pgp
Description: OpenPGP Digital Signature


Re: Wrong tag in template/debian/release_info.wml

2016-06-21 Thread AYANOKOUZI, Ryuunosuke
Dear Baptiste and Holger,

Thanks for reporting issue and proposing patch.

At Wed, 22 Jun 2016 00:45:55 +0200,
Holger Wansing wrote:
> 
> Baptiste Jammet  wrote:
> > 
> > We were notified [1] of a broken link to the unofficial non-free images 
> > from the page :
> > https://www.debian.org/releases/jessie/debian-installer/
> > 
> > I think it comes from :
> > english/template/debian/release_info.wml
> > where non-free-cd-release is defined as cd-release :
> > > # non-free cd including firmware are not always in sync
> > >  > > current-nonfree-cd-release-dirname>
> > instead of being defined as 8.5.0+nonfree.
> > 
> > [1] https://lists.debian.org/debian-l10n-french/2016/06/msg00098.html
> > 
> > Thanks
> > Baptiste, not sure enough to commit a change in the templates !
> 
> The following should do the trick:
> 
> 
> 
> Index: release_info.wml
> ===
> RCS file: /cvs/webwml/webwml/english/template/debian/release_info.wml,v
> retrieving revision 1.89
> diff -u -r1.89 release_info.wml
> --- release_info.wml5 Jun 2016 19:25:24 -   1.89
> +++ release_info.wml21 Jun 2016 22:44:50 -
> @@ -40,7 +40,7 @@
>  # live CD are not always in sync
>  current
>  # non-free cd including firmware are not always in sync
> - current-nonfree-cd-release-dirname>
> + current-nonfree-cd-release-dirname>+nonfree
>   current-nonfree-cd-release-filename>
>  
>  43000

No, the patch will cause side effect.
Because, 'current-nonfree-cd-release-filename' tag
depends on 'current-nonfree-cd-release-dirname' tag.
'current-nonfree-cd-release-filename' tag should keep as is.
(the tag should be evaluated as '8.5.0' and not be as '8.5.0+nonfree').

Another patch were committed to official repository [1].
I hope this modification will fix our issue.

[1] 
http://anonscm.debian.org/viewvc/webwml/webwml/english/template/debian/release_info.wml?r1=1.89&r2=1.90

Sincerely yours,
Ryuunosuke Ayanokouzi
-- 
AYANOKOUZI, Ryuunosuke 


pgpibxbsCVbYI.pgp
Description: OpenPGP Digital Signature


Bug#658685: www.debian.org: sync Japanese translation with english/News/weekly/2011/04/index.wml revision 1.4

2012-02-04 Thread AYANOKOUZI, Ryuunosuke
Package: www.debian.org
Severity: normal

cvs patch for Japanese translation of
english/News/weekly/2011/04/index.wml revision 1.4

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Regards,
AYANOKOUZI, Ryuunosuke
-- 
AYANOKOUZI, Ryuunosuke 


index.wml.patch
Description: Binary data


Bug#660363: www.debian.org: Broken link on http://www.debian.org/News/weekly/2012/03/#questions

2012-02-18 Thread AYANOKOUZI, Ryuunosuke
Package: www.debian.org
Severity: normal

There is a broken link on http://www.debian.org/News/weekly/2012/03/.
In "Answering Debian users' questions" section,
"questions & answers websites" is linked to "ask.debian.net".
It should be linked to "http://ask.debian.net/"; isn't it?

Please find a patch attached.


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Regards,
AYANOKOUZI, Ryuunosuke
--
AYANOKOUZI, Ryuunosuke 


index.wml.patch
Description: Binary data


pgpCeS6s5D59h.pgp
Description: PGP signature


Bug#660707: www.debian.org: an invalid XML/XHTML syntax in anchor tag's href attribute format on /cvs/webwml/english/News/weekly/2012/03/index.wml

2012-02-20 Thread AYANOKOUZI, Ryuunosuke
Package: www.debian.org
Severity: normal

There is an invalid XML/XHTML syntax in anchor tag's href attribute
format on /cvs/webwml/english/News/weekly/2012/03/index.wml. WML seems
to make modification to it and generate valid XML/XHTML file
(http://www.debian.org/News/weekly/2012/03/index.en.html), but it
might be better to adjust cvs's source file (index.wml) in XML/XHTML
like isn't it?

source-file: /cvs/webwml/english/News/weekly/2012/03/index.wml

http://people.skolelinux.org/pere/blog/Setting_up_a_new_school_with_Debian_Edu_Squeeze.html>new
tool, called sitesummary2ldapdhcp

generated-file: 
http://www.debian.org/News/weekly/2012/03/index.en.html#debianedu

http://people.skolelinux.org/pere/blog/Setting_up_a_new_school_with_Debian_Edu_Squeeze.html";>new
tool, called sitesummary2ldapdhcp

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Regards,
AYANOKOUZI, Ryuunosuke
--
AYANOKOUZI, Ryuunosuke 


pgphwKf3CREbR.pgp
Description: PGP signature


Bug#660707: www.debian.org: an invalid XML/XHTML syntax in anchor tag's href attribute format on /cvs/webwml/english/News/weekly/2012/03/index.wml

2012-02-20 Thread AYANOKOUZI, Ryuunosuke
Hi David,

> So what is the point of fixing the source if the generated file is
> correct (WML source file are not meant to be XML valid)? It's one of the
> WML feature to fix those details. Please note that we have a daily run
> to check the validation of every pages, and translation coordinators get
> a mail when there is something to fix.
>
>   http://www-master.debian.org/build-logs/validate/
>   http://www-master.debian.org/build-logs/tidy/

Because other anchor tag's href attribute values in the document are
quoted, even if generated file is valid. I'm not intend to change the
WML format bases. My suggestion is just like a refactoring.

Regards,
AYANOKOUZI, Ryuunosuke
--
AYANOKOUZI, Ryuunosuke 


pgpc2okowvo8j.pgp
Description: PGP signature


Re: Formatting suggestion for Debian Project News' similar sections

2012-03-01 Thread AYANOKOUZI, Ryuunosuke
Hi Francesca,

> Sure. I'm working on a patch for this: the idea is basically replace the
> paragraphs which have (almost) identical text in every issue, with a pre
> defined tag + specific variables (similar to what you propose).
> And then, provide gettext strings for all this tags, in order to have
> them automagically replaced by gettext with the translated text.

Thank you so much!

> I've already done the first part, while I'm having some problems with the
> second one, for a specific tag.
> I'm stuck in trying to resolve this problem, and then the patch will be ready.
> I'll not be able to work on it before next Tuesday, so I attach here the
> patch (in case someone wants to dig into it :) ).

Instead of this,

http://lists.debian.org/debian-devel/2012/02/msg00710.html";
 orphaned="409"
 rfa="142" />

how about this?

http://lists.debian.org/debian-devel/2012/02/msg00710.html";
 link-orphaned="$(DEVEL)/wnpp/orphaned"
 link-rfa="$(DEVEL)/wnpp/rfa"
 link-help_requested="$(DEVEL)/wnpp/help_requested"
 orphaned="409"
 rfa="142"
 />

As you know, wml generates static file by 9 steps (p1_ipp, p2_mp4h,
...). p1_ipp extracts "$(DEVEL)" to "../../../../devel/", after that
p2_mp4h evaluates gettext tag. So, msgid string in po file

"hoge."

disagrees with the extracted string in wml file

"hoge.".

Please find attached files (dpn.defs.new, patch.zou.new,
cvs-debian-wml-reproduce.sh).

Regards,
AYANOKOUZI, Ryuunosuke
--
AYANOKOUZI, Ryuunosuke 


dpn.defs.new
Description: Binary data


patch.zou.new
Description: Binary data


cvs-debian-wml-reproduce.sh
Description: Binary data


pgpopOmL3sn5V.pgp
Description: PGP signature


Bug#675270: www.debian.org: ambiguous expression for debian-stable-annou...@lists.debian.org in list page on website and Debian Project News

2012-05-30 Thread AYANOKOUZI, Ryuunosuke
Package: www.debian.org
Severity: minor

Here I suggest to change the summary of
debian-stable-annou...@lists.debian.org in list page on website and an
expression in Important Debian Security Advisories section on Debian
Project News.


1. Summary of debian-stable-annou...@lists.debian.org on website


debian-stable-annou...@lists.debian.org's list page on website [1]
summary says,

"Announcements of updates to stable
Updates to stable packages will be announced on this list."

Isn't this ambiguous? For non-native English speaker like Japanese, it
looks updates for stable section is announced on the list. But it is
not correct, isn't it?  For such purpose, people use
debian-security-annou...@lists.debian.org [2]. Properly speaking,
updates for "stable-update section" is announced on
debian-stable-annou...@lists.debian.org [3], isn't it?

[1] http://lists.debian.org/debian-stable-announce/
[2] http://lists.debian.org/debian-security-announce/
[3] 
http://www.debian.org/releases/stable/i386/release-notes/ch-whats-new.en.html#stable-updates

I know that debian-stable-annou...@lists.debian.org list is successor
of debian-volatile-annou...@lists.debian.org [4,5]. From this view
point, should the summary of debian-stable-annou...@lists.debian.org
be like as shown bellow?

"Announcements for the stable-update section
Announcements relating to the stable-update section include new uploads and 
changes."

[4] http://lists.debian.org/debian-volatile-announce/2012/msg0.html
[5] http://lists.debian.org/debian-volatile-announce/


2. Expression in Debian Project News (DPN)


Latest DPN saying in Important Debian Security Advisories section that
[6],

"If you need to be kept up to date about security advisories released
by the Debian Security Team, please subscribe to the security mailing
list (and the separate backports list, and stable updates list) for
announcements."

In this statement, "stable updates list" is linked to the page of
debian-stable-annou...@lists.debian.org.

[6] http://www.debian.org/News/weekly/2012/11/#dsa

"stable updates" means a "stable-update section". So, "stable update
list" should be "stable-update section's list". this is clearer
expression I think.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Regards,
AYANOKOUZI, Ryuunosuke
--
AYANOKOUZI, Ryuunosuke 


pgpx4NexRHvD2.pgp
Description: PGP signature


Re: Formatting suggestion for Debian Project News' similar sections

2013-01-08 Thread AYANOKOUZI, Ryuunosuke
Hi David,

Sorry for my late reply.
According to your suggestions, I wrote a patch.
After apply the patch. You can use the tags as shown below.

> Why make events-ml-* configurable, while those URL are as fixed as the
> related text?
> 
>  events-section="$(HOME)/events"
> events-ml-eu="http://lists.debian.org/debian-events-eu";
> events-ml-nl="http://lists.debian.org/debian-events-nl";
> events-ml-ha="http://lists.debian.org/debian-events-ha";
> events-ml-na="http://lists.debian.org/debian-events-na";
> />

Upper code is equivalent to the following code.



It is possible to overwrite default values by specific values.



>  events-talks="$(HOME)/events/talks"
> events-team="mailto:eve...@debian.org";
> />

Upper code is equivalent to the following code.



It is possible to overwrite default values by specific values.



> Likewise for newcontributors:
> 
> ## dd-url is always the same;
> […]
> ## uploader-url is always the same;
> ## post-name is always the same

http://nm.debian.org/public/nmlist#done";
   dm-url="http://lists.debian.org/debian-project/2012/12/msg00072.html";
   uploader-url="http://udd.debian.org/cgi-bin/new-maintainers.cgi";
   post-name=""
>

Upper code is equivalent to the following code.

http://lists.debian.org/debian-project/2012/12/msg00072.html";
>

It is possible to overwrite default values by specific values.

http://lists.debian.org/debian-project/2012/12/msg00072.html";
   uploader-url="path/to/uploader-url"
   post-name=""
>

> The “New Debian Contributors” parts is so automatized that “6 people” is
> autogenerated, is it possible to generate “Six people” as we used to?

You can use dd-num, dm-num and uploader-num attributes to specify
printing surface of the number of dd, dm and uploader. If *-num
attributes are not defined or defind as "", the number of attributes in
newcontributors-dd, newcontributors-dm, newcontributors-uploader tags
are used for the value of *-num. In this case, arabic numerals are
forced.

Example:

http://lists.debian.org/debian-project/2012/12/msg00072.html";
dm-num="Two"
uploader-num="eight"
>


* How to apply the patch

$ xz -d ~/fix0.patch.xz
$ mkdir -p ~/tmp/cvs-debian-wml
$ cd ~/tmp/cvs-debian-wml
$ cvs -d :pserver:anonym...@anonscm.debian.org:/cvs/webwml login
$ cvs -d :pserver:anonym...@anonscm.debian.org:/cvs/webwml checkout webwml
$ cd ./webwml
$ patch -p0 < ~/fix0.patch
$ cd english/News/weekly/
$ make 2012/22/index.en.html 2012/25/index.en.html
$ cd ../../../japanese/News/weekly/
$ make 2012/22/index.en.html 2012/25/index.en.html

Regards,
AYANOKOUZI, Ryuunosuke
-- 
AYANOKOUZI, Ryuunosuke 


fix0.patch.xz
Description: Binary data


pgpDTE5aWpSsH.pgp
Description: PGP signature