View Issue Details

IDProjectCategoryView StatusLast Update
13867Bug reportsTranslationpublic2018-09-14 15:16
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionwon't fix 
Product Version3.13.x 
Summary13867: Hard to know References in https://translate.limesurvey.org
Description

For twig files : seems there are a system to move twig file to temp and then test gT. Then references link is broken

Steps To Reproduce

https://translate.limesurvey.org/projects/limesurvey-3/fr/default/ first line, click on references link

Look at screenshot

Additional Information

System can not read applications + themes ? I think it's already read application + plugins , maybe because it's twig file ?

Since i don't know the reader system …

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.13.2 github
I will donate to the project if issue is resolvedNo
Sync to Zoho Project
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 14046 assignededdylackmann Unable to translate datetime question 

Activities

DenisChenu

DenisChenu

2018-07-11 11:42

developer  

c_schmitz

c_schmitz

2018-09-12 11:04

administrator   ~49015

Last edited: 2018-09-12 11:04

View 2 revisions

Yeah, unfortunately there is currently no other way as we would need a special twig parser in the linux localization tools (which currenty does not exist).

DenisChenu

DenisChenu

2018-09-14 15:03

developer   ~49039

According to plugins.svn.wordpress.org/background-manager/trunk/vendor/pf4wp/TRANSLATE.md xgettext can be used with twig files

Else https://github.com/LimeSurvey/Other-scripts/tree/master/translation_status seems out of date currently.

c_schmitz

c_schmitz

2018-09-14 15:07

administrator   ~49040

Well, I will be happy to provide our script to you. If you manage to parse twig files please let me know.

DenisChenu

DenisChenu

2018-09-14 15:11

developer   ~49041

Upload a twig.pot done with poedit (then xgettext)
subldireticry themes/survey only

Then can surely update sh script :)

twig.pot (18,365 bytes)   
msgid ""
msgstr ""
"Project-Id-Version: testTwig\n"
"POT-Creation-Date: 2018-09-14 15:08+0200\n"
"PO-Revision-Date: 2018-09-14 15:09+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.1.1\n"
"X-Poedit-Basepath: survey\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-KeywordsList: gT\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-SearchPath-0: .\n"

#: bootswatch/options/options.twig:87 fruity/options/options.twig:301
#: vanilla/options/options.twig:74
msgid "Inherit everything"
msgstr ""

#: bootswatch/options/options.twig:92 bootswatch/options/options.twig:117
#: bootswatch/options/options.twig:181 fruity/options/options.twig:306
#: fruity/options/options.twig:332 fruity/options/options.twig:358
#: fruity/options/options.twig:384 fruity/options/options.twig:411
#: fruity/options/options.twig:470 fruity/options/options.twig:495
#: fruity/options/options.twig:520 fruity/options/options.twig:545
#: fruity/options/options.twig:570 fruity/options/options.twig:681
#: fruity/options/options.twig:730 fruity/options/options.twig:781
#: fruity/options/options.twig:828 fruity/options/options.twig:877
#: fruity/options/options.twig:926 fruity/options/options.twig:975
#: vanilla/options/options.twig:79 vanilla/options/options.twig:104
#: vanilla/options/options.twig:132 vanilla/options/options.twig:158
#: vanilla/options/options.twig:221
#: vanilla/views/subviews/printanswers/question_types/template_array-yes-uncertain-no.twig:8
#: vanilla/views/subviews/printanswers/question_types/template_yes-no.twig:9
msgid "Yes"
msgstr ""

#: bootswatch/options/options.twig:96 bootswatch/options/options.twig:121
#: bootswatch/options/options.twig:185 fruity/options/options.twig:310
#: fruity/options/options.twig:336 fruity/options/options.twig:362
#: fruity/options/options.twig:388 fruity/options/options.twig:415
#: fruity/options/options.twig:474 fruity/options/options.twig:499
#: fruity/options/options.twig:524 fruity/options/options.twig:549
#: fruity/options/options.twig:574 fruity/options/options.twig:685
#: fruity/options/options.twig:734 fruity/options/options.twig:785
#: fruity/options/options.twig:832 fruity/options/options.twig:881
#: fruity/options/options.twig:930 fruity/options/options.twig:979
#: vanilla/options/options.twig:83 vanilla/options/options.twig:108
#: vanilla/options/options.twig:136 vanilla/options/options.twig:162
#: vanilla/options/options.twig:225
#: vanilla/views/subviews/printanswers/question_types/template_array-yes-uncertain-no.twig:10
#: vanilla/views/subviews/printanswers/question_types/template_yes-no.twig:11
msgid "No"
msgstr ""

#: bootswatch/options/options.twig:112 fruity/options/options.twig:327
#: vanilla/options/options.twig:99
msgid "Ajax mode"
msgstr ""

#: bootswatch/options/options.twig:127 bootswatch/options/options.twig:157
#: bootswatch/options/options.twig:191 fruity/options/options.twig:342
#: fruity/options/options.twig:368 fruity/options/options.twig:395
#: fruity/options/options.twig:421 fruity/options/options.twig:451
#: fruity/options/options.twig:480 fruity/options/options.twig:505
#: fruity/options/options.twig:530 fruity/options/options.twig:555
#: fruity/options/options.twig:580 fruity/options/options.twig:691
#: fruity/options/options.twig:706 fruity/options/options.twig:740
#: fruity/options/options.twig:754 fruity/options/options.twig:791
#: fruity/options/options.twig:838 fruity/options/options.twig:887
#: fruity/options/options.twig:936 fruity/options/options.twig:985
#: vanilla/options/options.twig:114 vanilla/options/options.twig:142
#: vanilla/options/options.twig:168 vanilla/options/options.twig:198
#: vanilla/options/options.twig:231
msgid "Inherit"
msgstr ""

#: bootswatch/options/options.twig:138 fruity/options/options.twig:432
#: vanilla/options/options.twig:179
msgid "Show popups"
msgstr ""

#: bootswatch/options/options.twig:143 fruity/options/options.twig:437
#: vanilla/options/options.twig:184
msgid "Popup"
msgstr ""

#: bootswatch/options/options.twig:147 fruity/options/options.twig:441
#: vanilla/options/options.twig:188
msgid "On page"
msgstr ""

#: bootswatch/options/options.twig:151 fruity/options/options.twig:445
#: vanilla/options/options.twig:192
msgid "Off"
msgstr ""

#: bootswatch/options/options.twig:217 fruity/options/options.twig:718
#: fruity/options/options.twig:766 vanilla/options/options.twig:257
msgid "Preview image"
msgstr ""

#: bootswatch/options/options.twig:250 fruity/options/options.twig:1070
#: vanilla/options/options.twig:295
#, python-format
msgid "Upload an image (maximum size: %d MB):"
msgstr ""

#: bootswatch/options/options.twig:258 fruity/options/options.twig:1078
#: vanilla/options/options.twig:303
msgid "Upload"
msgstr ""

#: fruity/options/options.twig:353 vanilla/options/options.twig:127
msgid "Survey container"
msgstr ""

#: fruity/options/options.twig:379
msgid "Question borders"
msgstr ""

#: fruity/options/options.twig:406
msgid "Question shadow"
msgstr ""

#: fruity/options/options.twig:465
msgid "Zebra-striped questions"
msgstr ""

#: fruity/options/options.twig:490
msgid "Sticky array headers"
msgstr ""

#: fruity/options/options.twig:515
msgid "Dim answered array rows"
msgstr ""

#: fruity/options/options.twig:540 vanilla/options/options.twig:153
msgid "Hide privacy info"
msgstr ""

#: fruity/options/options.twig:565
msgid "Cross-hover in matrix questions"
msgstr ""

#: fruity/options/options.twig:598
msgid "Background color"
msgstr ""

#: fruity/options/options.twig:617
msgid "Font color"
msgstr ""

#: fruity/options/options.twig:635
msgid "Question background color"
msgstr ""

#: fruity/options/options.twig:653
msgid "Check icon"
msgstr ""

#: fruity/options/options.twig:676
msgid "Background image"
msgstr ""

#: fruity/options/options.twig:702
msgid "Background image file"
msgstr ""

#: fruity/options/options.twig:725
msgid "Logo"
msgstr ""

#: fruity/options/options.twig:750
msgid "Logo file"
msgstr ""

#: fruity/options/options.twig:776
msgid "Animate body"
msgstr ""

#: fruity/options/options.twig:801
msgid "Body animation"
msgstr ""

#: fruity/options/options.twig:812 fruity/options/options.twig:859
#: fruity/options/options.twig:908 fruity/options/options.twig:957
#: fruity/options/options.twig:1009
msgid "Duration"
msgstr ""

#: fruity/options/options.twig:823
msgid "Animate question"
msgstr ""

#: fruity/options/options.twig:848
msgid "Question animation"
msgstr ""

#: fruity/options/options.twig:872
msgid "Animate alert"
msgstr ""

#: fruity/options/options.twig:897 fruity/options/options.twig:946
msgid "Alert animation"
msgstr ""

#: fruity/options/options.twig:921
msgid "Animate checkbox"
msgstr ""

#: fruity/options/options.twig:970
msgid "Animate radio buttons"
msgstr ""

#: fruity/options/options.twig:997
msgid "Radio button animation"
msgstr ""

#: fruity/options/options.twig:1022
#, python-format
msgid "%s fonts"
msgstr ""

#: fruity/options/options.twig:1025 vanilla/options/options.twig:271
msgid "Select font:"
msgstr ""

#: fruity/options/options.twig:1044
#, python-format
msgid "%s variations"
msgstr ""

#: fruity/options/options.twig:1047
msgid "Select variation:"
msgstr ""

#: fruity/options/options.twig:1060
msgid "Save"
msgstr ""

#: vanilla/options/options.twig:268
msgid "Fruity fonts"
msgstr ""

#: vanilla/views/layout_errors.twig:68
#, python-format
msgid "For further information please contact %s:"
msgstr ""

#: vanilla/views/layout_survey_list.twig:135
msgid "The following surveys are available:"
msgstr ""

#: vanilla/views/layout_survey_list.twig:159
#, python-format
msgid "Please contact %s ( %s ) for further assistance."
msgstr ""

#: vanilla/views/subviews/content/clearall.twig:21
msgid "Answers cleared"
msgstr ""

#: vanilla/views/subviews/content/clearall.twig:22
msgid "Restart this survey"
msgstr ""

#: vanilla/views/subviews/content/load.twig:37
#: vanilla/views/subviews/navigation/save_buttons.twig:7
#: vanilla/views/subviews/navigation/save_links.twig:24
msgid "Load unfinished survey"
msgstr ""

#: vanilla/views/subviews/content/load.twig:39
msgid "You can load a survey that you have previously saved from this screen."
msgstr ""

#: vanilla/views/subviews/content/load.twig:40
msgid "Type in the 'name' you used to save the survey, and the password."
msgstr ""

#: vanilla/views/subviews/content/load.twig:88
msgid "Saved name:"
msgstr ""

#: vanilla/views/subviews/content/load.twig:90
#: vanilla/views/subviews/content/load.twig:102
#: vanilla/views/subviews/content/save.twig:101
#: vanilla/views/subviews/content/save.twig:128
#: vanilla/views/subviews/content/save.twig:154
#: vanilla/views/subviews/logincomponents/captcha.twig:53
#: vanilla/views/subviews/logincomponents/token.twig:25
#: vanilla/views/subviews/logincomponents/token.twig:63
#: vanilla/views/subviews/registration/required.twig:2
msgid "Mandatory"
msgstr ""

#: vanilla/views/subviews/content/load.twig:100
#: vanilla/views/subviews/content/save.twig:126
msgid "Password:"
msgstr ""

#: vanilla/views/subviews/content/load.twig:114
#: vanilla/views/subviews/content/save.twig:201
msgid "Security question:"
msgstr ""

#: vanilla/views/subviews/content/load.twig:131
msgid "Load now"
msgstr ""

#: vanilla/views/subviews/content/load.twig:140
#: vanilla/views/subviews/content/save.twig:227
msgid "Return to survey"
msgstr ""

#: vanilla/views/subviews/content/quotas.twig:80
#: vanilla/views/subviews/navigation/navigator.twig:35
msgid "Previous"
msgstr ""

#: vanilla/views/subviews/content/quotas.twig:87
#: vanilla/views/subviews/navigation/navigator.twig:48
msgid "Submit"
msgstr ""

#: vanilla/views/subviews/content/save.twig:43
msgid "Save your unfinished survey"
msgstr ""

#: vanilla/views/subviews/content/save.twig:45
msgid "Enter a name and password for this survey and click save below."
msgstr ""

#: vanilla/views/subviews/content/save.twig:46
msgid ""
"Your survey will be saved using that name and password, and can be completed "
"later by logging in with the same name and password."
msgstr ""

#: vanilla/views/subviews/content/save.twig:47
msgid ""
"If you give an email address, an email containing the details will be sent "
"to you."
msgstr ""

#: vanilla/views/subviews/content/save.twig:48
msgid ""
"After having clicked the save button you can either close this browser "
"window or continue filling out the survey."
msgstr ""

#: vanilla/views/subviews/content/save.twig:51
msgid ""
"To remain anonymous please use a pseudonym as your username, also an email "
"address is not required."
msgstr ""

#: vanilla/views/subviews/content/save.twig:99
msgid "Name:"
msgstr ""

#: vanilla/views/subviews/content/save.twig:152
msgid "Repeat password:"
msgstr ""

#: vanilla/views/subviews/content/save.twig:177
msgid "Your email address:"
msgstr ""

#: vanilla/views/subviews/content/save.twig:218
msgid "Save Now"
msgstr ""

#: vanilla/views/subviews/content/submit.twig:37
#: vanilla/views/subviews/content/submit_preview.twig:31
msgid "Thank you!"
msgstr ""

#: vanilla/views/subviews/content/submit.twig:38
#: vanilla/views/subviews/content/submit_preview.twig:32
msgid "Your survey responses have been recorded."
msgstr ""

#: vanilla/views/subviews/content/submit.twig:53
msgid "Print your answers."
msgstr ""

#: vanilla/views/subviews/content/submit.twig:63
msgid "View the statistics for this survey."
msgstr ""

#: vanilla/views/subviews/content/submit_preview.twig:46
msgid "Did Not Save"
msgstr ""

#: vanilla/views/subviews/content/submit_preview.twig:51
msgid ""
"Your survey responses have not been recorded. This survey is not yet active."
msgstr ""

#: vanilla/views/subviews/header/start_form.twig:71
msgid "default"
msgstr ""

#: vanilla/views/subviews/logincomponents/captcha.twig:3
msgid "Before you start, please prove you are human."
msgstr ""

#: vanilla/views/subviews/logincomponents/captcha.twig:50
#: vanilla/views/subviews/logincomponents/token.twig:60
#: vanilla/views/subviews/registration/register_form.twig:66
msgid "Please solve the following equation:"
msgstr ""

#: vanilla/views/subviews/logincomponents/captcha.twig:71
#: vanilla/views/subviews/logincomponents/token.twig:84
#: vanilla/views/subviews/registration/register_form.twig:88
msgid "Continue"
msgstr ""

#: vanilla/views/subviews/logincomponents/token.twig:4
msgid "To participate in this restricted survey, you need a valid token."
msgstr ""

#: vanilla/views/subviews/logincomponents/token.twig:10
msgid ""
"If you have been issued a token, please enter it in the box below and click "
"continue."
msgstr ""

#: vanilla/views/subviews/logincomponents/token.twig:12
msgid ""
"Please confirm the token by answering the security question below and click "
"continue."
msgstr ""

#: vanilla/views/subviews/logincomponents/token.twig:23
msgid "Token:"
msgstr ""

#: vanilla/views/subviews/messages/assessments.twig:28
msgid "Your assessment"
msgstr ""

#: vanilla/views/subviews/messages/bootstrap_alert_modal.twig:43
#: vanilla/views/subviews/privacy/privacy_modal.twig:36
msgid "Close"
msgstr ""

#: vanilla/views/subviews/messages/warnings.twig:33
msgid ""
"This survey is currently not active. You will not be able to save your "
"responses."
msgstr ""

#: vanilla/views/subviews/messages/welcome.twig:49
msgid "There are no questions in this survey."
msgstr ""

#: vanilla/views/subviews/messages/welcome.twig:51
msgid "There is 1 question in this survey."
msgstr ""

#: vanilla/views/subviews/messages/welcome.twig:53
#, python-format
msgid "There are %s questions in this survey."
msgstr ""

#: vanilla/views/subviews/navigation/clearall_buttons.twig:9
msgid "Please confirm you want to clear your response?"
msgstr ""

#: vanilla/views/subviews/navigation/clearall_buttons.twig:19
#: vanilla/views/subviews/navigation/clearall_links.twig:22
msgid "Exit and clear survey"
msgstr ""

#: vanilla/views/subviews/navigation/language_changer.twig:30
#: vanilla/views/subviews/navigation/language_changer_top_menu.twig:36
msgid "Language:"
msgstr ""

#: vanilla/views/subviews/navigation/language_changer.twig:50
msgid "Change the language"
msgstr ""

#: vanilla/views/subviews/navigation/navigator.twig:53
msgid "Next"
msgstr ""

#: vanilla/views/subviews/navigation/question_index_groups_buttons.twig:8
#: vanilla/views/subviews/navigation/question_index_menu.twig:33
#: vanilla/views/subviews/navigation/question_index_menu.twig:70
#: vanilla/views/subviews/navigation/question_index_questions_buttons.twig:8
msgid "Question index"
msgstr ""

#: vanilla/views/subviews/navigation/question_index_menu.twig:105
msgid "Question by question mode not yet supported."
msgstr ""

#: vanilla/views/subviews/navigation/save_buttons.twig:11
#: vanilla/views/subviews/navigation/save_links.twig:33
msgid "Resume later"
msgstr ""

#: vanilla/views/subviews/printanswers/printanswers_head.twig:42
msgid "Export these responses as PDF:"
msgstr ""

#: vanilla/views/subviews/printanswers/printanswers_head.twig:42
msgid "PDF export"
msgstr ""

#: vanilla/views/subviews/printanswers/printanswers_head.twig:47
msgid "Export these responses to QXML:"
msgstr ""

#: vanilla/views/subviews/printanswers/printanswers_head.twig:47
msgid "queXMLPDF export"
msgstr ""

#: vanilla/views/subviews/printanswers/printanswers_question.twig:5
#: vanilla/views/subviews/printanswers/question_types/template_boilerplate.twig:6
msgid "Type:"
msgstr ""

#: vanilla/views/subviews/printanswers/printanswers_table.twig:5
msgid "Survey name (ID):"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_array-increase-same-decrease.twig:8
msgid "Increase"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_array-increase-same-decrease.twig:10
msgid "Same"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_array-increase-same-decrease.twig:12
msgid "Decrease"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_array-yes-uncertain-no.twig:12
msgid "Uncertain"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_gender.twig:9
msgid "Male"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_gender.twig:11
msgid "Female"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_ranking.twig:7
msgid "Rank"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_upload-files.twig:10
msgid "No comment"
msgstr ""

#: vanilla/views/subviews/printanswers/question_types/template_upload-files.twig:13
msgid "File type"
msgstr ""

#: vanilla/views/subviews/privacy/privacy.twig:27
msgid "This survey is anonymous."
msgstr ""

#: vanilla/views/subviews/privacy/privacy_modal.twig:29
msgid "Survey data policy"
msgstr ""

#: vanilla/views/subviews/privacy/privacy_modal.twig:35
msgid "Accept"
msgstr ""

#: vanilla/views/subviews/registration/register_form.twig:30
msgid "First name:"
msgstr ""

#: vanilla/views/subviews/registration/register_form.twig:38
msgid "Last name:"
msgstr ""

#: vanilla/views/subviews/registration/register_form.twig:46
msgid "Email address:"
msgstr ""

#: vanilla/views/subviews/registration/register_form.twig:82
msgid "Fields marked with an asterisk are mandatory."
msgstr ""

#: vanilla/views/subviews/registration/register_message.twig:19
msgid "Thank you for registering. You will receive an email shortly."
msgstr ""

#: vanilla/views/subviews/registration/register_message.twig:22
msgid ""
"You may register for this survey but you have to wait for the {{sStartDate}} "
"before starting the survey."
msgstr ""

#: vanilla/views/subviews/registration/register_message.twig:24
msgid "You may register for this survey if you wish to take part."
msgstr ""

#: vanilla/views/subviews/registration/register_message.twig:26
msgid ""
"Enter your details below, and an email containing the link to participate in "
"this survey will be sent immediately."
msgstr ""

#: vanilla/views/subviews/registration/register_success.twig:7
msgid "First name"
msgstr ""

#: vanilla/views/subviews/registration/register_success.twig:17
msgid "Last name"
msgstr ""

#: vanilla/views/subviews/registration/register_success.twig:29
msgid "Email address"
msgstr ""

#: vanilla/views/subviews/survey/question_subviews/question_text_content.twig:27
msgid "(This question is mandatory)"
msgstr ""
twig.pot (18,365 bytes)   
DenisChenu

DenisChenu

2018-09-14 15:16

developer  

Issue History

Date Modified Username Field Change
2018-07-11 11:42 DenisChenu New Issue
2018-07-11 11:42 DenisChenu File Added: Capture du 2018-07-11 11-39-28.png
2018-09-11 15:52 DenisChenu Relationship added related to 14046
2018-09-12 11:04 c_schmitz Assigned To => c_schmitz
2018-09-12 11:04 c_schmitz Status new => closed
2018-09-12 11:04 c_schmitz Resolution open => won't fix
2018-09-12 11:04 c_schmitz Note Added: 49015
2018-09-12 11:04 c_schmitz Note Edited: 49015 View Revisions
2018-09-14 15:03 DenisChenu Note Added: 49039
2018-09-14 15:07 c_schmitz Note Added: 49040
2018-09-14 15:11 DenisChenu File Added: twig.pot
2018-09-14 15:11 DenisChenu Note Added: 49041
2018-09-14 15:16 DenisChenu File Added: Capture du 2018-09-14 15-16-30.png