Bug 381939 - Unnecessary long string for UI translation
Summary: Unnecessary long string for UI translation
Status: REPORTED
Alias: None
Product: calligracommon
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2017-07-02 21:45 UTC by Guo Yunhe
Modified: 2022-03-16 21:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guo Yunhe 2017-07-02 21:45:25 UTC
Hi, I am a contributor in KDE Chinese localization team. I found here is an extremely long string to translate but most of it is not necessary. Please remove or shorten this message. So translators can translate it easier. Thanks!

Position in code: rdf/KoDocumentRdfEditWidget.ui:182

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Bitstream Vera Sans'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;"># Insert your SPARQL query here<br /># Results are shown below.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Verdana'; font-size:13pt;"></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;">prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; </span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;">prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; </span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;">prefix pkg: &lt;http://docs.oasis-open.org/ns/office/1.2/meta/pkg#&gt; </span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;">prefix geo84: &lt;http://www.w3.org/2003/01/geo/wgs84_pos#&gt;</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Verdana'; font-size:13pt;"></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;">select ?s ?p ?o </span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;">where { </span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;"> ?s ?p ?o </span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Verdana'; font-size:13pt;">}</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Verdana'; font-size:13pt;"></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Verdana'; font-size:13pt;"></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Verdana'; font-size:13pt;"></p></body></html>
Comment 1 2wxsy58236r3 2020-04-06 09:12:56 UTC
It looks like an input form placeholder:

```
# Insert your SPARQL query here
# Results are shown below.

prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 

prefix foaf: <http://xmlns.com/foaf/0.1/> 

prefix pkg: <http://docs.oasis-open.org/ns/office/1.2/meta/pkg#> 

prefix geo84: <http://www.w3.org/2003/01/geo/wgs84_pos#>

select ?s ?p ?o 

where { 

 ?s ?p ?o 

}
```

So only "Insert your SPARQL query here" and "Results are shown below." should be translated.
Comment 2 Christoph Feck 2020-04-30 15:44:45 UTC
Should be easy to split this into two or three strings; adding as a junior job.
Comment 3 stephen.tarzanin 2022-03-16 21:01:32 UTC
This seems to rich text for a Text Edit, where a Plain Text edit may be more appropriate.