Skip to content
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

Reduce translation message categories #353

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion components/PhpPageContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function validatePhpType($attribute, $params)
}

if (!$this->validatePhpViewFile()) {
$this->addError($this->getPageContentProperty(), Yii::t('CustomPagesModule.components_Container', 'Invalid view file selection!'));
$this->addError($this->getPageContentProperty(), Yii::t('CustomPagesModule.base', 'Invalid view file selection!'));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/TemplatePageContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trait TemplatePageContainer
public function validateTemplateType($attribute, $params)
{
if (TemplateType::isType($this->type) && $this->isNewRecord && !$this->templateId) {
$this->addError('templateId', Yii::t('CustomPagesModule.components_Container', 'Invalid template selection!'));
$this->addError('templateId', Yii::t('CustomPagesModule.base', 'Invalid template selection!'));
}
}
}
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

1.10.11 (Unreleased)
--------------------------
- Enh #353: Reduce translation message categories

1.10.10 (October 12, 2024)
--------------------------
- Enh #352: Deferred showing content until Markdown is rendered properly
Expand Down
29 changes: 27 additions & 2 deletions messages/am/base.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
<?php
return array (
return [
'<strong>Add</strong> {templateName} item' => ' {templateName} <strong>አክል</stron>',
'<strong>Custom</strong> Pages' => '<strong>ብጁ</strong> ገፃቹ',
'<strong>Edit</strong> item' => 'ይህን <strong>አስተካክል</strong>',
'<strong>Edit</strong> snippet' => 'ቁንፅል መረጃውን <strong>አስተካክል</strong>',
'<strong>Edit</strong> {type} element' => 'የ{type} አካል<strong>አስተካካ</strong> ',
'Access denied!' => 'ትዕዛዝዎ ተቀባይነት አላገኘም!',
'Add' => 'አክል',
'Add a file icon before the title' => 'ከርዕሱ በፊት ለፋይሉ መለያ ምስል ያክሉ',
'Additional IFrame Attributes' => '',
'Adds plain HTML content to your site.' => 'ለደረገፅዎ ግልፅ የHTML ይዘት ያክሉ።',
'Admin only' => '',
'Advanced' => 'የላቀ',
'All Members' => '',
'Allows the user to manage custom pages.' => '',
'Allows to add pages (markdown, iframe or links) to the space navigation' => 'በመወያያው የማውጫ ቁልፎች (ዝርዝርማምረጫ፣ iframe ወይም ማስፈንጠሪያ) ገፃች ለማክል ይፈቀዳል',
'Allows you to add content in MarkDown syntax.' => 'በዝርዝር መምረጫው ማስፈሪያ ላይ ይዘት ለማስገባት ይፈቀድልዎታል',
Expand Down Expand Up @@ -35,32 +42,42 @@
'Edit' => 'ማስተካከያ',
'Edit Page' => 'ማስተካከያ ገፅ',
'Empty' => 'ባዶ',
'Empty content elements cannot be deleted!' => '',
'File' => 'ፋይል',
'Footer menu' => '',
'General' => 'አጠቃላይ',
'Global Page' => '',
'Global Widget' => '',
'Here you can review where the template is used in.' => '',
'Html' => 'html',
'ID' => 'መታወቂያ',
'Icon' => 'አርማ',
'Iframe' => 'Iframe',
'Insert' => 'አስገባ',
'Invalid request data!' => 'የማያገለግል የመረጃ ጥያቄ ቀርቧል!',
'Invalid template selection!' => 'የአማያገለግል አብነት መርጠዋል!',
'Invalid type selection' => 'የማያገለግል አይነት ምርጫ',
'Invalid view file selection!' => 'የማያገለግል የፋይል መመልከቻ መርጠዋል!',
'Item name' => 'የነገሩ ስም',
'Layouts' => 'አቀማመጦች',
'Link' => 'ማስፈንጠሪያ',
'MarkDown' => 'የተመረጠዝርዝር',
'Members & Guests' => '',
'Members only' => '',
'Menu settings' => '',
'Off' => 'ጠፍቷል',
'On' => 'በርቷል',
'On this page you can configure general settings of your custom pages.' => 'በዚህ ገፅ ላይ የብጁ ገፅዎችዎን አጠቃላይ ማስተካከያዎችን ማዋቀር ይችላሉ።',
'Overview' => 'ሐተታ',
'PHP' => 'PHP',
'Page' => '',
'Page Content' => '',
'Pages' => 'ገፃች',
'Panel' => '',
'People Buttons' => '',
'Please choose one of the following content types. The content type defines how your content is embedded to your site.' => '',
'Please keep in mind that php based pages are vulnerable to security issues, especially when handling user input. For more information, please have a look at <a href="{url}">Yii\'s Security best practices</a>.' => 'እባክዎን መሰረታቸውን PHP ያደረጉ ገፃች በተለይም የተጠቃሚዎችን ግብአት በመቆጣጠሩ በኩል ለደህንነት ችግር የተጋለጡ ናቸው። ለተጨማሪ መረጃ እባክዎን <a href="{url}">የYiiን የተመረጡ የደህንነት ተግባራትን </a> ይመልከቱ።',
'Public' => 'የህዝብ',
'Reset' => 'እንደገና ጀምር',
'Reset the content to default value' => '',
'Save' => 'አስቀምጥ',
Expand All @@ -71,16 +88,21 @@
'Snipped-Layouts' => 'ቁንፅል-አቀማመጥ',
'Snippet' => '',
'Snippets' => 'ቁንፅል መረጃዎች',
'Sort Order' => 'ቅደም ተከተል ያስይዙ',
'Source' => 'ምንጭ',
'Space' => '',
'Space Members only' => '',
'Space Navigation' => '',
'Space Page' => '',
'Space Widget' => '',
'Stream' => '',
'Stream options' => '',
'Style' => 'ቅጥ',
'Style Class' => 'የቅጥ ክፍል',
'Submit' => 'አቅርብ',
'Target Url' => 'የታለመ url',
'Template' => 'አብነት ',
'Template Layout' => 'የአብነት አቀማመጥ',
'Templates' => 'አብነቶሽ',
'Templates allow you to define combinable page fragments with inline edit functionality.' => 'አብነቶች አግባብ ከሆነ የማስተካከያ ትግበራ ጋር የሚዋሃዱ የገፅ ስብጥሮችን እንዲወስኑ ያደርጉዎታል።',
'This action requires an ownerContentId or ownerContent instance!' => 'ይህ ተግባር የባለቤትነት ይዘት መታወቂያን ወይም የይዘት ባለቤትነትን ይሻል!',
Expand All @@ -90,11 +112,14 @@
'Top Navigation' => 'የራስጌ የማውጫ ቁልፍ',
'Type' => 'አይነት',
'Upload image' => 'ምስል አክል',
'Url' => '',
'Usage' => '',
'User Account Menu (Settings)' => 'የተጠቃሚ አካውንት ማውጫ (ማስተካከያ)',
'View' => 'ተመልከት',
'Will embed the result of a given url as an iframe element.' => 'የቀረበው url እንደiframe አካል ሆኖ የሚቀናጅ ይሆናል።',
'Will redirect requests to a given (relative or absolute) url.' => 'የቀረቡት ጥያቆዎች ወደ(አማራጭ ወይም ትክክለኛ) url የሚዛወሩ ይሆናል።',
'With PHP based pages you can create custom pages by means of view files in your file system. Please check the module configuration for more Information.' => 'መሰረታቸውን PHP ባደረጉ ገፃች በፋይል መሰደሪያዎ ላይ ፋይሉን በመመልከት ብጁ ገፃችን መፍጠር ይችላሉ። ለተጨማሪ መረጃ እባክዎን የሞዱሌ ማዋቀሪያውን ይመልከቱ።',
'Without adding to navigation (Direct link)' => 'ወደማውጫ ቁልፉ ሳያስገቡ (ቀጥተኛ ማስፈንጠሪያ)',
'Wrap this HTML page with white panel' => '',
);
'You are not allowed to delete default content!' => 'ነባሪ ይዘቶችን ለማስወገድ አልተፈቀደልዎትም።',
];
17 changes: 0 additions & 17 deletions messages/am/components_Container.php

This file was deleted.

5 changes: 0 additions & 5 deletions messages/am/controllers_AdminController.php

This file was deleted.

9 changes: 0 additions & 9 deletions messages/am/controllers_TemplateController.php

This file was deleted.

5 changes: 0 additions & 5 deletions messages/am/form_labels.php

This file was deleted.

32 changes: 32 additions & 0 deletions messages/am/model.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
return [
'Abstract' => '',
'Activate PHP based Pages and Snippets' => 'አገልግሎቱ የሚሰጡ መሰረታቸውን PHP ላይ ያደረጉ ገፃችና ቁንፅልመረጃዎች',
'Attach Files' => '',
'Content' => 'ይዘት',
'Empty <br />Container' => 'ባዶ <br /> ማዕቀፍ',
'Empty HumHub Richtext' => '',
'Empty Image' => 'ባዶ ምስል',
'Empty Richtext' => 'ባዶ @Richtext@',
'Empty Text' => 'ባዶ ፅሁፍ',
'If disabled, existing php pages will still be online, but can\'t be created.' => 'የማይሰራ ከሆነ፣ ቀድሞ የነበረው የpHP ገፅ አገልግሎት የሚሰጥ ይሆናል። ነገር ግን መፍጠር አይቻልም።',
'Label' => 'ምልክት',
'Navigation' => 'የማውጫ ቁልፍ',
'Only visible for admins' => 'ለአስተዳዳሪዎች ብቻ የሚታይ',
'Only visible for space admins' => 'ለምህዳር አስተዳዳሪዎች ብቻ የሚታይ',
'Open in new window' => 'በአዲስ መስኮት ውስጥ ክፈት',
'PHP view path for custom space pages' => 'ለነባሪ የምህዳር ገፃች የሚሆን የPHP እይታ መንገድ',
'PHP view path for custom space snippets' => 'ለነባሪ የምህዳር ቁንፅል መረጃ የሚሆን የphp እይታ መንገድ',
'PHP view path for global custom pages' => 'ሉላዊ ለነባሪ ገፃች የሚሆን የphp እይታ መንገድ',
'PHP view path for global custom snippets' => 'ለሉላዊ የነባሪ ቁንፅል መረጃ የሚሆን የphp እይታ መንገድ',
'Placeholder name' => 'የቦታያዡ ስም',
'Sidebar' => 'የጎን ገፅታ',
'The element name must contain at least two characters without spaces or special signs except \'_\'' => 'የአካሉ ስም ከ \'_\' ምልክት ውጪ ያለክፈተት እና ልዩ ምልክቶች ቢያንስ ሁለት የፅሁፍ ምልክቶችን መያዝ ይጠበቅበታል።',
'The given element name is already in use for this template.' => 'የቀረበው አካል ስም በዚህ የድረገፅ አብነት ላይ ከዚህ ቀደም አገልግሎት ላይ ውሏል።',
'The given view file path does not exist.' => 'የቀረበው የፋይል መመልከቻ መንገድ አልተገኘም',
'Url shortcut' => 'የurl አቋራጭመንገድ',
'View' => 'ተመልከት',
'Visibility' => 'የእይታ ሁኔታ',
'page' => 'ገፅ',
'snippet' => 'ቁንፅልመረጃ',
];
4 changes: 0 additions & 4 deletions messages/am/models_Container.php

This file was deleted.

6 changes: 0 additions & 6 deletions messages/am/models_ContainerPage.php

This file was deleted.

5 changes: 0 additions & 5 deletions messages/am/models_ContainerSnippet.php

This file was deleted.

5 changes: 0 additions & 5 deletions messages/am/models_HtmlType.php

This file was deleted.

4 changes: 0 additions & 4 deletions messages/am/models_ImageContent.php

This file was deleted.

11 changes: 0 additions & 11 deletions messages/am/models_Page.php

This file was deleted.

7 changes: 0 additions & 7 deletions messages/am/models_RichtextContent.php

This file was deleted.

10 changes: 0 additions & 10 deletions messages/am/models_SettignsForm.php

This file was deleted.

6 changes: 0 additions & 6 deletions messages/am/models_Snippet.php

This file was deleted.

7 changes: 0 additions & 7 deletions messages/am/models_TemplateElement.php

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions messages/am/modules_template_controllers_AdminController.php

This file was deleted.

6 changes: 0 additions & 6 deletions messages/am/modules_template_models_CotnainerContent.php

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions messages/am/modules_template_models_forms_EditElementForm.php

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions messages/am/modules_template_views_admin_edit.php

This file was deleted.

8 changes: 0 additions & 8 deletions messages/am/modules_template_views_admin_editSource.php

This file was deleted.

7 changes: 0 additions & 7 deletions messages/am/modules_template_views_admin_info.php

This file was deleted.

5 changes: 0 additions & 5 deletions messages/am/modules_template_views_admin_preview.php

This file was deleted.

This file was deleted.

Loading
Loading