release: v0.12.0 (#520)
Forty-one commits since v0.11.0. See CHANGELOG.md for the full list and the upgrade notes.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
import Link from 'next/link';
|
||||
import { getServerDictionary } from '@/lib/i18n/server';
|
||||
|
||||
interface BackLinkProps {
|
||||
href: string;
|
||||
@@ -11,8 +12,9 @@ interface BackLinkProps {
|
||||
}
|
||||
|
||||
export function BackLink({ href, label }: BackLinkProps) {
|
||||
const t = getServerDictionary();
|
||||
return (
|
||||
<Link href={href} className="album-header__back" aria-label={`Back to ${label}`}>
|
||||
<Link href={href} className="album-header__back" aria-label={t.common.backTo(label)}>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
viewBox="0 0 24 24"
|
||||
|
||||
Reference in New Issue
Block a user