-
-
Notifications
You must be signed in to change notification settings - Fork 944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ticket/12563] Changes 2 style specific language variables for better understanding #2571
Conversation
…names PHPBB3-12563
@@ -209,8 +209,8 @@ protected function action_install() | |||
trigger_error($this->user->lang['NO_MATCHING_STYLES_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING); | |||
} | |||
$message = implode('<br />', $messages); | |||
$message .= '<br /><br />' . sprintf($this->user->lang['STYLE_INSTALLED_RETURN_STYLES'], $this->u_base_action . '&mode=style'); | |||
$message .= '<br /><br />' . sprintf($this->user->lang['STYLE_INSTALLED_RETURN_UNINSTALLED'], $this->u_base_action . '&mode=install'); | |||
$message .= '<br /><br />' . sprintf($this->user->lang['STYLE_INSTALLED_RETURN_INSTALLED_STYLES'], $this->u_base_action . '&mode=style'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While on it, change to $this->user->lang(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$message .= '<br /><br />' . $this->user->lang('STYLE_INSTALLED_RETURN_INSTALLED_STYLES', $this->u_base_action . '&mode=style');
Like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes atleast if i see it correct on my phone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it. Is working fine.
[ticket/12563] Changes 2 style specific language variables for better understanding * Crizz0/ticket/12563: [ticket/12563] Removes strintf in acp_styles.php and shorts up <a> [ticket/12563] Changes 2 language variables to better understandable names
@@ -71,8 +71,8 @@ | |||
'STYLE_ERR_NAME_EXIST' => 'A style with that name already exists.', | |||
'STYLE_ERR_STYLE_NAME' => 'You must supply a name for this style.', | |||
'STYLE_INSTALLED' => 'Style "%s" has been installed.', | |||
'STYLE_INSTALLED_RETURN_STYLES' => '<a href="%s">Click here</a> to return to installed styles list.', | |||
'STYLE_INSTALLED_RETURN_UNINSTALLED' => '<a href="%s">Click here</a> to install more styles.', | |||
'STYLE_INSTALLED_RETURN_INSTALLED_STYLES' => '<a href="%s">Return to installed styles list</a>.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think these are full sentences anymore, so the dots at the end should be removed. It also looks weird that the dot is not part of the link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PHPBB3-12563
I'm trying to setup the << before the link, but it is not working:
Just creates to wrong a-Elements. |
as per IRC conversation, remove from language and use laquo and raquo for the two options "return to installed styles" and "install more styles" respectively. |
[ticket/12563] Changes 2 style specific language variables for better understanding
Little changes on two language variables.
PHPBB3-12563 - https://tracker.phpbb.com/browse/PHPBB3-12563