X2Go Bug report logs - #987
.ts Files Name Mismatch Problem

version graph

Packages: x2goclient, debian; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient. Maintainer for debian is (unknown);

Reported by: Orkun BALCI <b.orkun@gmail.com>

Date: Wed, 27 Jan 2016 08:05:02 UTC

Severity: normal

Tags: pending

Found in version 4.0.5.0-1

Fixed in version 4.0.5.1

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 987@bugs.x2go.org (full text, mbox, reply):

Received: (at 987) by bugs.x2go.org; 27 Jan 2016 14:45:08 +0000
From ionic@ionic.de  Wed Jan 27 15:45:06 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=3.0 tests=BAYES_20,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id F369D5DA90
	for <987@bugs.x2go.org>; Wed, 27 Jan 2016 15:45:05 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id HGdEzx56X-1J for <987@bugs.x2go.org>;
	Wed, 27 Jan 2016 15:45:05 +0100 (CET)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A44B75DA8E
	for <987@bugs.x2go.org>; Wed, 27 Jan 2016 15:45:05 +0100 (CET)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id 031634F00C1D;
	Wed, 27 Jan 2016 15:45:04 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1453905905; bh=qBCRJSLcwM4j62o5PGJA4fwXPDqs8F0r8BIAfmi0bLc=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=DGWTaoTwI583ms/x1Dcv4stL/vdq/Rwd6c99iC+X/9Dp5iFUr9HijgvHuvPkoZBAp
	 7XbIKATCLYMH7IHtxPu4RYz/KKUMcTZjRFRN2ziaUOkESSdMUK9BB/eqploYdEQN5w
	 VcnI+ebGcbAvqwCIFwAz7MkVLcBiPw/0URsVWXS8=
Subject: Re: [X2Go-Dev] Bug#987: .ts Files Name Mismatch Problem
To: Orkun BALCI <b.orkun@gmail.com>, 987@bugs.x2go.org
References: <CADjYjXUNsH3Lb4-Z56PQJQHFGRYkhR-efic-rHMOXc5jOnomjQ@mail.gmail.com>
From: Mihai Moldovan <ionic@ionic.de>
X-Enigmail-Draft-Status: N1110
Message-ID: <56A8D7DD.5040202@ionic.de>
Date: Wed, 27 Jan 2016 15:44:45 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0)
 Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <CADjYjXUNsH3Lb4-Z56PQJQHFGRYkhR-efic-rHMOXc5jOnomjQ@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="Xxr73TMs3JKR9iTkvw07U33AUO0K2O4lo"
[Message part 1 (text/plain, inline)]
On 27.01.2016 09:03 AM, Orkun BALCI wrote:
> Package: x2goclient (Debian) Version: 4.0.5.0-1
> 
> In Qt Resources, translation files (.ts) filenames ends with a
> preceeding underscore and two character (like _tr, _en, etc.)
> However, locale names are in the form tr_TR or en_US. Because
> x2goclient reads from :/i18n/[filename] Qt Resource file, it cannot
> find a file named x2goclient_tr_TR, x2goclient_en_US, qt_tr_TR, or
> qt_en_US. .ts file names should be changed from trailing two
> character to four character full locale name.

I disagree, let me explain why.

We're using QTranslator::load(), which, according to the documentation, should try to load stripped file names, too, c.f.: https://doc.qt.io/qt-4.8/qtranslator.html#load

The important part is the fallback list for fr_ca. Eventually, it should be able to load :/i18n/x2goclient_tr.qm (and thus also :/i18n/qt_tr.qm.)

Are you seeing different, wrong behavior?



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 27 05:17:32 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.