Files
FrenoCorp/node_modules/react-native/React/I18n/RCTLocalizedString.h
Michael Freno 7c684a42cc FRE-600: Fix code review blockers
- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-25 00:08:01 -04:00

35 lines
866 B
Objective-C

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#if WITH_FBI18N
#import <FBI18n/FBI18nFbt.h>
#define RCTLocalizedString(string, description) FBT(string, description)
#else
#import <React/FBXXHashUtils.h>
#ifdef __cplusplus
extern "C" {
#endif
uint64_t FBcoreLocalexxHash48(const char *input, uint64_t length, uint64_t seed);
NSString *RCTLocalizedStringFromKey(uint64_t key, NSString *defaultValue);
#define RCTLocalizedStringKey(string, description) \
FBcoreLocalexxHash48(string "|" description, strlen(string) + strlen(description) + 1, 0)
#define RCTLocalizedString(string, description) \
RCTLocalizedStringFromKey(RCTLocalizedStringKey(string, description), @"" string)
#ifdef __cplusplus
}
#endif
#endif