Changeset 1402 in ExiteCMS


Ignore:
Timestamp:
05/15/08 15:17:21 (4 years ago)
Author:
hverton
Message:

fixed problem with new PM and new post messages in the user info panel (i18n issue with singular/plural)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/tools/language_pack_English.php

    r1393 r1402  
    21292129        $localestrings['412'] = "Page: "; 
    21302130        $localestrings['413'] = "RSS Feed"; 
     2131        $localestrings['414'] = "View all posts"; 
    21312132        $localestrings['430'] = "download(s)"; 
    21322133        $localestrings['450'] = "View Forum"; 
     
    23192320        $localestrings['472']['12'] = "violet"; 
    23202321        $localestrings['472']['13'] = "black"; 
    2321         $localestrings['472']['14'] = "gray"; 
     2322        $localestrings['472']['14'] = "grey"; 
    23222323        $localestrings['472']['15'] = "silver"; 
    23232324        $localestrings['472']['16'] = "white"; 
     
    24952496        $localestrings['026'] = "My Recent Threads"; 
    24962497        $localestrings['027'] = "My Recent Posts"; 
     2498        $localestrings['027a'] = "All Posts"; 
    24972499        $localestrings['028'] = "New Posts"; 
    24982500        $localestrings['029'] = "Latest News"; 
     
    25472549        $localestrings['083'] = "CMS Administration"; 
    25482550        $localestrings['084'] = "Logout"; 
    2549         $localestrings['085'] = "%u private "; 
    2550         $localestrings['086'] = "message"; 
    2551         $localestrings['087'] = "messages"; 
    2552         $localestrings['088'] = "post"; 
    2553         $localestrings['089'] = "posts"; 
    2554         $localestrings['090'] = "%u new forum "; 
     2551        $localestrings['085'] = "%u private message"; 
     2552        $localestrings['086'] = "%u private messages"; 
     2553        $localestrings['087'] = "?"; 
     2554        $localestrings['088'] = "%u new forum post"; 
     2555        $localestrings['089'] = "%u new forum posts"; 
     2556        $localestrings['090'] = "Posts"; 
    25552557        $localestrings['091'] = "Mark all read"; 
    25562558        $localestrings['100'] = "Member Poll"; 
     
    31753177if (!defined('LP_CHARSET')) define('LP_CHARSET', "iso-8859-1"); 
    31763178if (!defined('LP_VERSION')) define('LP_VERSION', "7.10"); 
    3177 if (!defined('LP_DATE')) define('LP_DATE', "1206357171"); 
    3178 $lp_date = "1206357171"; 
     3179if (!defined('LP_DATE')) define('LP_DATE', "1210855263"); 
     3180$lp_date = "1210855263"; 
    31793181 
    31803182/*---------------------------------------------------+ 
  • trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl

    r1344 r1402  
    4040        <hr /> 
    4141        <div style='text-align:center'> 
    42             <b><a href='{$smarty.const.BASEDIR}pm.php?action=show_new' class='side'>{$new_pm_msg|string_format:$locale.085}{if $new_pm_msg == 1}{$locale.086}{else}{$locale.087}{/if}</a></b> 
     42            <b><a href='{$smarty.const.BASEDIR}pm.php?action=show_new' class='side'>{if $new_pm_msg == 1}{$new_pm_msg|string_format:$locale.085}{else}{$new_pm_msg|string_format:$locale.086}{/if}</a></b> 
    4343        </div> 
    4444    {/if} 
     
    4747        <div style='text-align:center'> 
    4848            {if $new_posts_panel} 
    49                 <a href='{$smarty.const.MODULES}forum_threads_list_panel/new_posts.php' class='side'><b>{$new_post_msg|string_format:$locale.090}{if $new_post_msg == 1}{$locale.088}{else}{$locale.089}{/if}</b></a> 
     49                <a href='{$smarty.const.MODULES}forum_threads_list_panel/new_posts.php' class='side'><b>{if $new_post_msg == 1}{$new_post_msg|string_format:$locale.088}{else}{$new_post_msg|string_format:$locale.089}{/if}</b></a> 
    5050                <hr /> 
    5151                {buttonlink name=$locale.091 link=$smarty.const.MODULES|cat:"forum_threads_list_panel/new_posts.php?markasread="|cat:$user_id} 
    5252            {else} 
    53                 <b>{$new_post_msg|string_format:$locale.090}{if $new_post_msg == 1}{$locale.088}{else}{$locale.089}{/if}</b> 
     53                <b>{if $new_post_msg == 1}{$new_post_msg|string_format:$locale.088}{else}{$new_post_msg|string_format:$locale.089}{/if}</b> 
    5454            {/if} 
    5555        </div> 
Note: See TracChangeset for help on using the changeset viewer.