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

IBX-9170: AI Assistant #1385

Merged
merged 11 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
translations
  • Loading branch information
GrabowskiM authored and tomaszszopinski committed Dec 11, 2024
commit 2ac20f74ebba9cda44a3cd73fd98a5f8bc18b841
1 change: 1 addition & 0 deletions src/bundle/Resources/config/bazinga_js_translation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ active_domains:
- 'ibexa_user_invitation'
- 'ibexa_content_type'
- 'ibexa_dropdown'
- 'ibexa_popup_menu'
- 'messages'
16 changes: 16 additions & 0 deletions src/bundle/Resources/translations/ibexa_popup_menu.en.xliff
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file source-language="en" target-language="en" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
</header>
<body>
<trans-unit id="e4f3034ecab5de30a4ea60991375e4c6ccb21ed1" resname="ibexa_popup_menu.search.placeholder">
<source>Search...</source>
<target state="new">Search...</target>
<note>key: ibexa_popup_menu.search.placeholder</note>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 2 additions & 2 deletions src/bundle/Resources/translations/popup_menu.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
</header>
<body>
<trans-unit id="6229ba6fcf2f54495e3381f913742470bb949a28" resname="popup_menu.placeholder">
<trans-unit id="0df91173d20ee5fe6b4e8650eb665aa0376dd9c1" resname="popup_menu.search.placeholder">
<source>Search...</source>
<target state="new">Search...</target>
<note>key: popup_menu.placeholder</note>
<note>key: popup_menu.search.placeholder</note>
</trans-unit>
</body>
</file>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { useRef, createContext, useState, useEffect } from 'react';
import PropTypes from 'prop-types';

import { getRootDOMElement } from '@ibexa-admin-ui/src/bundle/Resources/public/js/scripts/helpers/context.helper';
import { createCssClassNames } from '../helpers/css.class.names';

export const DraggableContext = createContext();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const PopupMenu = ({ extraClasses, footer, items, onItemClick, positionOffset, r
'c-popup-menu--visible': isVisible,
[extraClasses]: true,
});
const searchPlaceholder = Translator.trans(/*@Desc("Search...")*/ 'popup_menu.placeholder', {}, 'popup_menu');
const searchPlaceholder = Translator.trans(/*@Desc("Search...")*/ 'ibexa_popup_menu.search.placeholder', {}, 'ibexa_popup_menu');
const updateFilterValue = (event) => setFilterText(event.target.value);
const resetInputValue = () => setFilterText('');
const showItem = (item) => {
Expand Down