Closed
Bug 871697
Opened 11 years ago
Closed 11 years ago
GCLI disconnectDesc and disconnectManual strings are wrong
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: jwalker, Assigned: flod)
References
Details
Attachments
(1 file, 2 obsolete files)
36.15 KB,
patch
|
Details | Diff | Splinter Review |
clones of connectDesc and connectManual
Comment 1•11 years ago
|
||
connectManual and disconnectManual have the same string: connectManual: Connect to the server, creating local versions of the commands on the server. Remote commands initially have a prefix to distinguish them from local commands (but see the context command to get past this) disconnectManual: Connect to the server, creating local versions of the commands on the server. Remote commands initially have a prefix to distinguish them from local commands (but see the context command to get past this)
Blocks: 839862
Comment 2•11 years ago
|
||
I think that since those strings are already on Aurora (which is string frozen), this trivial fix should be landed ASAP. Btw, connectDesc and disconnectDesc seems to have the same problem.
Assignee | ||
Comment 3•11 years ago
|
||
I'm trying to review and fix the comments in gcli.properties, but I'm not sure this is a trivial fix. Why a "disconnect" command should need the "prefix" parameter?
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #3) > I'm trying to review and fix the comments in gcli.properties, but I'm not > sure this is a trivial fix. > > Why a "disconnect" command should need the "prefix" parameter? Connections have names to enable you to be connected to more than one system at a time.
Assignee | ||
Comment 5•11 years ago
|
||
The approach to this file is a bit more aggressive than what I've done for other properties files in devtools. This is the reason: for 101 entities, the current file has 312 lines of comments, while the updated version has only 135. This patch tries to: * Remove all repetitions about *Desc being a short description and *Manual being a longer description of a command, replace them with a single explanation at the beginning of the file. * Group together similar/connected strings and add only one comment for the group. * Replace %1$S with %S when only one parameter is used. To fix specifically this bug, it also replaces disconnectDesc and disconnectManual. I'm using a numbered suffix instead of a more explanatory name to maintain the structure *command*Desc and *command*Manual. Joe: please check if the proposed strings are correct. I've also asked feedback from Pike and Théo to understand if I'm oversimplifying things.
Assignee: nobody → francesco.lodolo
Attachment #757832 -
Flags: review?(jwalker)
Attachment #757832 -
Flags: feedback?(theo.chevalier2.0)
Attachment #757832 -
Flags: feedback?(l10n)
Comment 6•11 years ago
|
||
Comment on attachment 757832 [details] [diff] [review] Review strings and l10n comment, fix disconnectDesc and disconnectManual Review of attachment 757832 [details] [diff] [review]: ----------------------------------------------------------------- This is generally OK, but two things: The disconnect command is totally confusing. More to the patch, whenever a localization note applies to more than one entity, please list them all, see the comment inline on the first occurance. There are loads of them, I didn't comment on the following. ::: browser/locales/en-US/chrome/browser/devtools/gcli.properties @@ +28,5 @@ > # parameters. > canonDefaultGroupName=Options > > +# LOCALIZATION NOTE: these commands are used to execute commands on a remote > +# system (using a proxy). Parameters: %S is the name of the remote system. If a note is for two or more entities, it should reference them in (). Notes with no () implicitly only refer to the following entity. @@ +58,1 @@ > fieldSelectionSelect=Select a %S… What's %S here? Note, this may very well not work in languages with grammar without extra stunts, thus it's even more important to say what %S really is.
Attachment #757832 -
Flags: feedback?(l10n) → feedback-
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 757832 [details] [diff] [review] Review strings and l10n comment, fix disconnectDesc and disconnectManual No point in asking a review on this patch, clearing flags.
Attachment #757832 -
Flags: review?(jwalker)
Attachment #757832 -
Flags: feedback?(theo.chevalier2.0)
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Axel Hecht [:Pike] from comment #6) > The disconnect command is totally confusing. I agree, but I couldn't find something more clear. > There are loads of them, I didn't comment on the following. > If a note is for two or more entities, it should reference them in (). Ok, I thought the exact opposite. > fieldSelectionSelect=Select a %S… > Note, this may very well not work in languages with grammar without extra > stunts, thus it's even more important to say what %S really is. Good question, I didn't check this. jwalker, any help on this and the disconnect string/comment?
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(jwalker)
Assignee | ||
Comment 9•11 years ago
|
||
This patch should address all notes made in comment 6. I didn't touch fieldSelectionSelect's comment: I talked with jwalker about this string on IRC, and since %S could be a lot of things (connection, name, file, etc.) I'll file a separate bug for changing that to a more generic "Please select…" or similar (at this moment this string is not in use).
Attachment #757832 -
Attachment is obsolete: true
Attachment #759018 -
Flags: review?(jwalker)
Flags: needinfo?(jwalker)
Assignee | ||
Comment 10•11 years ago
|
||
> I didn't touch fieldSelectionSelect's comment: I talked with jwalker about > this string on IRC, and since %S could be a lot of things (connection, name, > file, etc.) I'll file a separate bug for changing that to a more generic > "Please select…" or similar (at this moment this string is not in use). That would be bug 880155
Reporter | ||
Comment 11•11 years ago
|
||
Comment on attachment 759018 [details] [diff] [review] Patch addressing pike's comments Review of attachment 759018 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for looking over these strings. I've done the work to make my script generate output similar to your proposals, which I'll attach. There are some changes that I wasn't sure about - Some of the strings were re-ordered (e.g. some, but not all, of the prefSet strings were moved after the prefReset strings). And I've restored the capital letters at the start of comments, but nothing significant.
Attachment #759018 -
Flags: review?(jwalker) → review+
Reporter | ||
Comment 12•11 years ago
|
||
Attachment #759018 -
Attachment is obsolete: true
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Joe Walker [:jwalker] from comment #11) > There are some changes that I wasn't sure about - Some of the strings were > re-ordered (e.g. some, but not all, of the prefSet strings were moved after > the prefReset strings). Thanks Joe. In general I tried to group string to reduce the number of comments (e.g. max, min, ecc.), it could be that I missed some in the "pref *" commands.
Reporter | ||
Comment 16•11 years ago
|
||
Try: https://tbpl.mozilla.org/?tree=Try&rev=93660c241ba4 Fx-Team: https://tbpl.mozilla.org/?tree=Fx-Team&rev=7c3d5bdc569c HG Revision: https://hg.mozilla.org/integration/fx-team/rev/7c3d5bdc569c
Flags: needinfo?(jwalker)
Comment 17•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7c3d5bdc569c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 25
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•