File:SVG Switch Test.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 512 × 179 pixels, file size: 3 KB)

Render this image in .

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Test complex switch elements in different environments.
  1. The first line is just a text element with translate="no". It should always display in English. SVG Translate should not offer to translate the line.
  2. The second line is a switch element that has title, desc, and metadata children. Those elements should not prevent the display of the English name of the language (e.g., "English", "French", or "Default"). SVG Translate should offer to translate this element.
  3. The third line should display the langtag or "Default language". The switch has en, zh_Hans, zh-Hant, and default clauses. MW does show underscored langtags in the language dropdown box, and MW does not display an underscored langtag image (lang=zh_hans). Choosing the "default" language in the language dropdown box will display en rather than the "default" (und) language. SVG Translate will incorrectly create new zh_HANS and zh_HANT clauses.
Date
Source Own work
Author Glrx
SVG development
InfoField
 
The source code of this SVG is invalid due to an error.
 
This vector image was created with a text editor.
 
 This file is translated using SVG switch elements: all translations are stored in the same file.

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:12, 3 August 2022Thumbnail for version as of 13:12, 3 August 2022512 × 179 (3 KB)DWalden (WMF) (talk | contribs)File uploaded using svgtranslate tool (https://svgtranslate.toolforge.org/). Added translation for gan.
19:07, 3 June 2022Thumbnail for version as of 19:07, 3 June 2022512 × 179 (2 KB)JoKalliauer (talk | contribs)rust-librsvg2.54 does not pass // Editing SVG source code using c:User:Rillke/SVGedit.js
18:02, 1 June 2022Thumbnail for version as of 18:02, 1 June 2022512 × 179 (2 KB)Glrx (talk | contribs)use uppercase FR to setup test for SVG Translate // Editing SVG source code using c:User:Rillke/SVGedit.js
03:00, 31 May 2022Thumbnail for version as of 03:00, 31 May 2022512 × 179 (2 KB)Glrx (talk | contribs)Uploaded own work with UploadWizard

Metadata