← Back to team overview

ubuntu-phone team mailing list archive

Re: How to translate two strings

 

On Sun, Aug 30, 2015 at 11:59 PM, Krzysztof Tataradziński
<ktatar156@xxxxxxxxx> wrote:
>
>
> 2015-08-30 21:10 GMT+02:00 Roman Mindlin <roman.mindlin@xxxxxxxxx>:
>>
>> I think this strings are about trash directory. So you must use trash
>> basket name in your language.
>>
> Thanks, I was also thinking in that way. But the question for now is what is
> 'trash info file'?
> Is it a one file with some logs about all deleted files?
> Maybe that 'trash info file' is created (in directory of origin deleted
> file) when we delete some file and contain some information where goes
> deleted file?
> Second question (connected with first one) - why this file is needed in
> system, what its purpose?
>

On your Ubuntu system, you can find a folder where the trashed files exist, at
~/.local/share/Trash/
In there, there are two subfolders, "files/" and "info/".

In "files/", you can find the file that was sent to trash. It has the
original filename. For example, "myfile.txt"
In "info/", you can find corresponding text files with information about
               1. when the file was deleted
               2. the path where the file came from (so that it can be
sent back).
So, for "myfile.txt", there is an "info" file called "myfile.txt.trashinfo".

Thus, those two messages that you need to translate,
  "Could not create trash info file"
  "Could not remove the trash info file"

are messages regarding the internal implementation of the Trash.
The end user should probably not need to deal with "*.trashinfo" files,
and the messages could be changed to something more appropriate.

Simos

>>
>> 2015-08-30 15:00 GMT+03:00 Krzysztof Tataradziński <ktatar156@xxxxxxxxx>:
>>>
>>> Hi,
>>> In my free time I'm translating Ubuntu strings into polish lang. (mostly
>>> for phone). I've got problem with those:
>>> "Could not create trash info file"
>>> "Could not remove the trash info file"
>>> from "Ubuntu File Manager App".
>>> Because my phone is unusable (broken screen, waiting for parts) I can't
>>> test where are those strings. Could someone help me and explain when those
>>> strings appearing, are them some comments, etc. and what does those strings
>>> mean at all?
>>>
>>> Best regards,
>>> Krzysztof Tataradziński
>>> https://launchpad.net/~ktatar156
>>>
>>> --
>>> ubuntu-translators mailing list
>>> ubuntu-translators@xxxxxxxxxxxxxxxx
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators
>>>
>>
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>


References