In the project_issue module is a very problematic string. Are we able to change this into Add issue, please?

$items[] = array(
      'path' => 'project/issues/add',
      'title' => t('Submit'),
      'callback' => 'project_issue_page',
      'access' => $access,
      'type' => MENU_NORMAL_ITEM,
    );

I will try to explain... for e.g. the German translation team named the node "Submit" button "Save" (in German "Speichern"). This will now name the project issue "Submit" link as "Save" and it is difficult to understand what this should mean. Therefor i'd like to rename this link into Add issue.

Patch attached.

Comments

hass’s picture

StatusFileSize
new2.04 KB

I missed some strings :-(.

dww’s picture

Status: Needs review » Closed (won't fix)

Sorry, I don't think that's a reasonable change. Look on drupal.org:
http://drupal.org/project/issues

Look at the navigation menu:

Issues
  My issues
  Search
  Statistics
  Submit
  Subscribe

It'd be silly to have "Add issue" instead of "Submit" under a menu item called "Issues".

Similarly, look at the links at the top of the page, just under the "Issues for all projects" title. Again, it's *obvious* we're talking about issues here, so "Submit" makes the most sense.

It's not really my fault if the German translation decided to call "submit" the equivalent of "save" instead of "submit". :(

hass’s picture

Status: Closed (won't fix) » Needs review

You understand that i'm unable to workaround? Until we get a solution to use the same strings with different translations in different modules. Aside, there is no appropriate word in German for "Submit". If i translate this - it will end in something like "transfer". Other translations will have the same problem. "Add issue" is much more readable / understandable then "Submit" only. Today i need to think "where i'am", ah "issues", ok, "could be - add issue". I know others have renamed in such cases to make it unique. "Add" could be another possible solution for German, i'm not sure if this works for other languages.

I reopen this for now to get a solution for this today unsolvable problem.

kkaefer’s picture

dww, hass is right: There is no sane translation for "Submit" in the German languages. All available work except for "Speichern" (= Save) are odd or archaic in almost all cases. That's why I submitted the patch http://drupal.org/node/100641 some time ago, but unfortunately it's not yet in. Also see http://drupal.org/node/100636.

kkaefer’s picture

Maybe this can be changed into "Create".

dww’s picture

Status: Needs review » Needs work

Looks like #100641 just landed, lucky for y'all... ;)

I guess I can live with "Create" as the menu item and links, since "Create [an issue]" and "Submit [an issue]" are basically equivalent to my native English ears. So, if someone wants to re-roll for changing the links, I'll review and commit.

However, please do not start changing all the "Submit" buttons in project* to "Save" until after the D6 port.

hass’s picture

Status: Needs work » Needs review
StatusFileSize
new2.03 KB

Re-roled with "Create".

However i think some strings could be named "Create issue" (for e.g. the one displayed next to "Add release" as an example).

hass’s picture

StatusFileSize
new2.27 KB

missing help texts added.

JirkaRybka’s picture

The same for Czech and other languages around here, in some cases the translation needs to be more specific, or a general word is missing. I have similar problem with "Submit" on Views' exposed filters (means "Search" in fact, nothing to do with "Create" - subpart of my issue http://drupal.org/node/156130 ).

So my point is, that this is a quite common problem in many modules, which should be given more attention generally.

dww’s picture

Version: 5.x-2.x-dev » 4.7.x-2.x-dev
Status: Needs review » Patch (to be ported)

Committed patch from #7 to HEAD, and regenerated project_issue.pot.

Patch doesn't apply at all on either DRUPAL-4-7 or DRUPAL-4-7--2, but needs to be backported to both branches. Please supply another patch (probably the same would apply on both 4-7(--2?) branches.

Thanks,
-Derek

bdragon’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new2.62 KB

Here's your backports, just cuz I felt like it...

DRUPAL-4-7--2

bdragon’s picture

StatusFileSize
new2.64 KB

and DRUPAL-4-7.

dww’s picture

Status: Needs review » Fixed

Thanks, bdragon! Committed to DRUPAL-4-7--2 and DRUPAL-4-7.

Anonymous’s picture

Status: Fixed » Closed (fixed)