rejetto forum

2.4 translation

rejetto · 24 · 28889

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13520
    • View Profile
here we'll share knowledge on the translation process.
I'm still not sure how to do things. Let's see together.
I'll use this first topic to recap results.

You must be sure to use the most updated version for LNG and EXE files.
https://github.com/rejetto/hfs2/releases/tag/v2.4-rc02

I don't know if the translations for 2.3 can be updated for 2.4, but possibly here is described a procedure
https://sites.google.com/site/kryvich/localizer/howto?authuser=0
for your convenience i've attached the lngupdate tool.
« Last Edit: June 08, 2020, 04:20:00 PM by rejetto »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13520
    • View Profile
this version should be good enough for translation


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
Is this .lng file already outdated?    (Without doubt, it's yes...)
I cannot access rejetto's link to hfs.lng, so I translated the file in the 2.4 topic.
But those newly added resource strings are not read correctly by HFS beta9, with dog-tail-on-a-cat problems and endless error popups like this.

Above are not big deals. Just try to offer a new version of hfs.lng with a valid link.
I've already translated new strings to Chinese in a spread sheet, convenient for management.
They need to be tested though. Now everything to do is to replace them to new .lng file, make HFS can run correctly with them :D
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2061
    • View Profile
Quote
I cannot access rejetto's link to hfs.lng,
https://raw.githubusercontent.com/rejetto/hfs2/v2.4-beta09/hfs.lng
attached file from the link


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13520
    • View Profile
I cannot access rejetto's link to hfs.lng, so I translated the file in the 2.4 topic.

let me understand, you can download the exe but not the lng in the links i gave you?
if yes, i will see to upload the lng in the same place of the exe. LMK


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
let me understand, you can download the exe but not the lng in the links i gave you?

Yes, GitHub is no problem, but the raw- site "error connection refused".
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13520
    • View Profile
ok, i replaced the link in the first post


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
Strings before [ResourceStrings] in 2.3m .lng file can be instandly moved to 2.4 one. They are compatible.

In the new file, there are 2 strings with the same ID 64766:

Code: [Select]
560 |  64766_main_MSG_MAX_SIM_DL_SING{1}=Max simultaneous downloads from a single IP address.
...
708 |  64766_main_MSG_MAX_SIM_DL_SING{2}=Max simultaneous downloads from single address

Seems it's them making the "Max simultaneous downloads from single address" unable to be translated.

There are still a few strings cannot be translated.
  Hovertip of the connection list
  Logboard -> addresses ever connected -> Totals
  The "about" message in menu
  Dialog for changing port
  The lower bar of HFS: Virtual File System: 1 item(s) - not saved
  (maybe more)

The almost-completed Chinese translation file for beta10 is attached for tests.
« Last Edit: June 05, 2020, 04:43:35 PM by NaitLee »
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13520
    • View Profile
i forgot to say that i took care of this problem, and it should be no more.
I also decided to change a couple of names, to have a standard naming, sorry for it.
From now i will publish a new hfs.lng on github together with the exe, but only when there are changes. It will not be as frequent as now, hopefully.


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
I also decided to change a couple of names, to have a standard naming, sorry for it.

Nothing, I made a spreadsheet with macros, helping me to just replace already-translated strings to new ID & names.
Translation is never easier than this ;)

How about me to publish that sheet out once I finished it?
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13520
    • View Profile
sure, if it's a useful tool for others why not share it


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
Download empty en language file for the default template

P.S: Line 63 should be fixed in the template


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
P.S: Line 63 should be fixed in the template

Seems the {.?search.} is just for getting a urlvar, no need to be corrected. :D

The download button goes with some error here, but I found the blob link and got the file.
Just put the lines here:    (deleted "{.if|{.length|{.?search=" and "%reason%", and configurations such as "options.move=1", added "Clear")
Code: [Select]
HFS=
Uptime=
Account panel=
Login=
Search=
Enable multi-selection=
Selection=
New folder=
Display timestamps=
Toggle timestamp=
Download selected files as a single archive=
Download these files as a single archive?=
Archive=
Upload=
Change list order=
selected=
Mask=
Invert=
Delete=
Move=
title=
folders=
files=
Uploaded=
Failed=
Queued=
Uploading...=
Reload page=
this folder and sub-folders=
this folder only=
entire server=
Go=
Download counter:=
NEW=
More options=
item folder=
Login required=
Not found=
go to root=
Server Too Busy=
The server is too busy to handle your request at this time. Retry later=
Download limit=
max s dl msg=
Unauthorized=
Either your user name and password do not match, or you are not permitted to access this resource.=
Forbidden=
This resource is not accessible.=
You are banned=
uploaded by=
No file exchange in progress.=
Uploading=
Time left=
Downloading=
User=
created folder=
Anonymous=
renamed=
to=
Moving items to=
not found=
already exists=
not moved=
Bytes=
Sorry, you lack permissions for this action=
Warning: the password will be sent unencrypted to the server. For better security change the password from HFS window.=
Enter new password=
Password changed=
Ok=
Error=
confirm=
Enter the destination folder=
We met the following problems:=
files were moved.=
No file was moved.=
Please enter the file mask to select=
Username=
Password=
Change password=
Logout=
Sort by=
Size=
Speed=
Name=
Extension=
Timestamp=
Hits=
Default=
Rename=
Comment=
No access=
Sort=
Clear=

The "Clear" in search box needs to be wrapped by {.!  .}
« Last Edit: July 09, 2020, 04:13:42 PM by NaitLee »
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs