Opened 15 years ago

Last modified 5 years ago

#6621 closed enhancement

Improve the Upload Window — at Version 2

Reported by: Casiope Owned by: team
Priority: normal Milestone: 21.04
Component: Core Version: latest
Keywords: Cc:

Description (last modified by simon04)

The Upload Window needs a rework. I rewrite some sentences but I'm unable to make the code. Someone need to help me for that! :)

/* If 1 new changeset & no comment & 1 request: */
"<strong>{0} object</strong> is uploaded to <strong>a new changeset</strong> using <strong>1 request</strong>."
"<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> using <strong>1 request</strong>."

/* If 1 new changeset & comment & 1 request: */
"<strong>{0} object</strong> is uploaded to <strong>a new changeset</strong> with comment ''{2}'' using <strong>1 request</strong>."
"<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> with comment ''{2}'' using <strong>1 request</strong>."

/* If 1 new changeset & no comment & many requests: */
"<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> using <strong>{3} requests</strong>."

/* If 1 new changeset & comment & many requests: */
"<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> with comment ''{2}'' using <strong>{3} requests</strong>."

/* If 1 old changeset & no comment & 1 request: */
"<strong>{0} object</strong> is uploaded to <strong>the open changeset {1}</strong> using <strong>1 request</strong>."
"<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> using <strong>1 request</strong>."

/* If 1 old changeset & comment & 1 request: */
"<strong>{0} object</strong> is uploaded to <strong>the open changeset {1}</strong> with comment ''{2}'' using <strong>1 request</strong>."
"<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> with comment ''{2}'' using <strong>1 request</strong>."

/* If 1 old changeset & no comment & many requests: */
"<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> using <strong>{3} requests</strong>."

/* If 1 old changeset & comment & many requests: */
"<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> with comment ''{2}'' using <strong>{3} requests</strong>."

/* If many changesets & no comment & many requests: */
"<strong>{0} objects</strong> are uploaded to <strong>multiple changesets</strong> using <strong>{3} requests</strong>."

/* If many changesets & comment & many requests: */
"<strong>{0} objects</strong> are uploaded to <strong>multiple changesets</strong> with comment ''{2}'' using <strong>{3} requests</strong>."


/* If no comment --> New window with warning about comment */
/* If many objects are uploaded --> show the ligne "advanced configuration" */
/* Either (1 object is uploaded) --> Hide the line "advanced configuration" */


/* If 1 changeset & changeset is closed after upload: */
"The changeset is going to be <strong>closed</strong> after this upload."

/* If 1 changeset & changeset is open after upload: */
"The changeset is <strong>left open</strong> after this upload."

/* If many changesets & changesets are closed after upload: */
"The changesets are going to be <strong>closed</strong> after this upload."

/* If many changeset & changesets are open after upload: */
"The changesets are <strong>left open</strong> after this upload."

Change History (2)

comment:1 by Casiope, 15 years ago

Description: modified (diff)

comment:2 by simon04, 15 years ago

Description: modified (diff)

I tried to format the description to increase readability.

Note: See TracTickets for help on using tickets.