Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Some translation problems: lost strings vs unready strings #1392

Closed
emzi opened this Issue Jul 2, 2012 · 1 comment

Comments

Projects
None yet
2 participants

emzi commented Jul 2, 2012

There's some strings which are not ready to be translated successfully!

Lost T()'s

Title: Next
-- It is displayed on: Ban list Page (Dashboard)
-- Description: "Previous" is translatble, but "Next" isn't!
-- Path: /applications/dashboard/modules/class.pagermodule.php

  • Target: Anchor('Next',
  • fix: Anchor(T('Next')

Title: Comma
-- It is displayed on: Applicants Page Table (Dashboard)
-- Description: In Persian (or generally RTL languages), comma is wrote differently! Read more: http://en.wikipedia.org/wiki/Comma#In_other_languages
-- Path: /applications/dashboard/views/user/applicants.php

  • Target: ', '
  • fix: T(', ')

Title: Import Page
-- Description: The below strings are displayed when you tick "Generate import SQL only" and click "Start"
-- Path: /applications/dashboard/views/import/stats.php

  • Target: Special

    • fix: ".T('Special')."
  • Target: Generate Import SQL only

    • fix: ".T('Generate Import SQL only')."

Note: there is the ~same "Generate Import SQL only" line which is translatable in /applications/dashboard/views/import/index.php that is different to above line, because of i & I in "import" and "Import"


Title: Edit/Delete Logs Page
-- Path: /applications/dashboard/views/log/table.php

  • Target: '%s by'
  • fix: T('%s by')

Title: Security Check!
-- Description: The below line needs T('a', 'A')! it appears on the registration page

  • Target: echo "To use reCAPTCHA you must get an API key from
  • fix: echo T("To use reCAPTCHA you must get an API key from

Title: One of warnings on forum
-- Description: It's showed When a moderator/administrator tries to delete a discussion!
-- Path: /applications/vanilla/controllers/class.moderationcontroller.php

  • Target: 'You have selected %1$s.'

    • fix: T('You have selected %1$s.')
  • Target: 'You have selected %1$s in this discussion.'

    • fix: T('You have selected %1$s in this discussion.')

Title: One of popup windows on forum
-- Description: It's showed When a moderator/administrator click to delete a discussion!
-- Path: /applications/vanilla/views/moderation/confirmcommentdeletes.php

  • Target:s: 'You are about to delete %s.'

    'You are about to delete %1$s of the %2$s selected discussions.',

    'You do not have permission to delete %1$s of the selected discussions.'

Title: "→" on the Activity Page
-- Description: should be tranlatable, because of RTL languages as in Persian. then "→" can be replaced with a word (meaning "to") for a better view! it can be done via http://pastebin.com/raw.php?i=bSCPq3pg
-- Path: /applications/dashboard/views/activity/helper_functions.php


Title: "↳" on the Activity page
-- Description: It should be vice versa, because of RTL languages as in Persian. => $Definition['↳ '] = '↲ ';
-- Path: /applications/vanilla/views/modules/categories.php

  • Target: '↳ '
  • fix: T('↳ ')

Lost T()'s (Default Plugins)

Title: Tagging
-- Description: 1. T() is lost! 2. Why Questions, Why not "Disscusions"?
-- Path: /plugins/Tagging/views/taggeddiscussions.php

  • Target: "Questions tagged with '%s'"
  • fix: T("Disscusions tagged with '%s'")

Title: Flagging
-- Path: /plugins/Flagging/views/flagging.php

  • Target: in queue
  • fix: ".T('in queue'),"

Title: SplitMerge
-- Path: /plugins/SplitMerge/views/splitcomments.php

  • Target: 'You have chosen to split %s into a new discussion.'
  • fix: T('You have chosen to split %s into a new discussion.')

Untranslatable lines

Title: Root Category
-- Path: /applications/vanilla/settings/structure.php
-- Description: "Root" isn't translatble!

  • Target: 'Name' => 'Root', 'UrlCode' => '', 'Description' => 'Root of category tree. Users should never see this.',

Title: Bonk Page
-- Path: /applications/dashboard/views/error.master.php

  • Target: Bonk
  • Target: Something funky happened. Please bear with us while we iron out the kinks.

Title: [Deleted User]
-- Description: When a users is deleted by an administrator, his/her username replaced with "[Deleted User]"
-- Path: /applications/dashboard/models/class.usermodel.php

  • Target: 'Name' => '[Deleted User]',

Title: Default Roles Description
-- Path: /applications/dashboard/settings/structure.php

  • Target: 'Guests can only view content. Anyone browsing the site who is not signed in is considered to be a "Guest".'

    'Users who have applied for membership, but have not yet been accepted. They have the same permissions as guests.'

    'Members can participate in discussions.'

    'Moderators have permission to edit most content.'

    'Administrators have permission to do anything.'

    'Users must confirm their emails before becoming full members. They get assigned to this role.'

Untranslateble lines (Default Plugins)

Title: Flagging
-- Path: /plugins/Flagging/views/flag.php

  • Target: ("{$UcContext} #{$ElementID}", $URL)

Note: "{$UcContext}" = "Discussion" -> is untranslatable.

Owner

linc commented Nov 24, 2012

Made it as far as the core plugins so far :)

@ghost ghost assigned linc Nov 24, 2012

linc added a commit that referenced this issue Nov 24, 2012

linc added a commit that referenced this issue Aug 25, 2013

@linc linc closed this in 37bbfbf Aug 25, 2013

@emzi emzi changed the title from Some translation problems...! to Some translation problems: lost strings vs unready strings Mar 28, 2014

@emzi emzi unassigned linc May 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment