[PATCH 2/2] templates: Specify language

Stephen Finucane stephen at that.guru
Wed Nov 6 16:48:41 AEDT 2019


On Thu, 2019-10-31 at 17:57 +1100, Andrew Donnellan wrote:
> Specifying language in the <html> tag is recommended in HTML5.
> 
> Signed-off-by: Andrew Donnellan <ajd at linux.ibm.com>
> ---
>  templates/base.html | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/templates/base.html b/templates/base.html
> index 01b0d6b5e598..40b6cda65350 100644
> --- a/templates/base.html
> +++ b/templates/base.html
> @@ -1,6 +1,6 @@
>  {% load static %}
>  <!DOCTYPE html>
> -<html xmlns="http://www.w3.org/1999/xhtml">
> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en-AU">

It's a nit and I know this is applied, but can we change this to en-US? 
We've a large international audience working on and using Patchwork,
and I think all of our UI should be written with US spelling in mind.
en-AU doesn't mean anything to me, personally.

Stephen

>   <head>
>    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>    <title>{% block title %}Patchwork{% endblock %} - Patchwork</title>



More information about the Patchwork mailing list