View Issue Details

This bug affects 2 person(s).
 12
IDProjectCategoryView StatusLast Update
18762Bug reportsTranslationpublic2023-04-19 10:17
ReporterJmantysalo Assigned Toollehar  
PrioritynoneSeveritytweak 
Status closedResolutionduplicate 
Product Version6.0.x 
Summary18762: Strings combined without %s, hard to translate
Description

I think that almost always it is hard to translate when you found

gT(" something")

i.e. a space starting string. As a specific example _user_management_sub_footer.php contains

  <?= gT(" Go to") ?>
  <a href="<?php echo $this->createUrl('userManagement/index'); ?>" target="_blank"> 
    <?= gT(" global user management ") ?></a> <?= gT("for general user management (add/edit/delete general users).") ?>
  <?= gT("If you don't have permission please contact your administrator.") ?>

Shouldn't this be something like "Go to %s for general..." % "<a href=..."?

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)6.0.2
I will donate to the project if issue is resolvedNo
Browser
Database type & versionN/A
Server OS (if known)
Webserver software & version (if known)
PHP VersionN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-04-18 15:14

developer   ~74522

And can be impossible …

Clearly need

  1. Go to %sglobal user management%s for general user management (add/edit/delete general users).
  2. If you don't have permission please contact your administrator.
ollehar

ollehar

2023-04-18 15:58

administrator   ~74528

Location?

Jmantysalo

Jmantysalo

2023-04-18 21:02

reporter   ~74534

Strange. I just downloaded the latest version from https://community.limesurvey.org/downloads/ and this is at

application/views/surveyAdministration/_user_management_sub_footer.php

But I can't found it from https://translate.limesurvey.org/ anymore. Is this already fixed?

DenisChenu

DenisChenu

2023-04-19 07:34

developer   ~74535

https://github.com/LimeSurvey/LimeSurvey/commit/6c072e82f36e4158f452d309c3c7ff68d7aca7a2

Jmantysalo

Jmantysalo

2023-04-19 08:43

reporter   ~74536

OK, this can be closed as wontfix/duplicate/somethinglikethat.

Issue History

Date Modified Username Field Change
2023-04-18 14:56 Jmantysalo New Issue
2023-04-18 15:14 guest Bug heat 0 => 6
2023-04-18 15:14 DenisChenu Note Added: 74522
2023-04-18 15:14 DenisChenu Bug heat 6 => 8
2023-04-18 15:58 ollehar Note Added: 74528
2023-04-18 15:58 ollehar Bug heat 8 => 10
2023-04-18 21:02 Jmantysalo Note Added: 74534
2023-04-18 21:02 Jmantysalo Bug heat 10 => 12
2023-04-19 07:34 DenisChenu Note Added: 74535
2023-04-19 08:43 Jmantysalo Note Added: 74536
2023-04-19 10:17 ollehar Assigned To => ollehar
2023-04-19 10:17 ollehar Status new => closed
2023-04-19 10:17 ollehar Resolution open => duplicate