RoyLee1224 commented on code in PR #50626:
URL: https://github.com/apache/airflow/pull/50626#discussion_r2093556378


##########
airflow-core/src/airflow/ui/src/layouts/Nav/AdminButton.tsx:
##########
@@ -52,6 +53,7 @@ const links = [
 ];
 
 export const AdminButton = ({ authorizedMenuItems }: { readonly 
authorizedMenuItems: Array<MenuItem> }) => {
+  const { t: translate } = useTranslation("common");

Review Comment:
   Right, 'common' is the default namespace. I was just thinking, perhaps 
keeping 'common' explicit would be a bit clearer for other developers when 
they're working with the translations?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to